summaryrefslogtreecommitdiff
path: root/board/hatch_fp/ec.tasklist
diff options
context:
space:
mode:
authorNicolas Norvez <norvez@chromium.org>2019-02-21 19:11:03 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-04-03 18:13:42 -0700
commitf3715a514e71ffdddc337d7e2635f970dda3c092 (patch)
treeee49608410c1eb32e014152198582349a6f16691 /board/hatch_fp/ec.tasklist
parent204eb153327c59688fb430eb51471a76ecc61dee (diff)
downloadchrome-ec-f3715a514e71ffdddc337d7e2635f970dda3c092.tar.gz
hatch_fp: initial upload
First draft, lots of features still missing. Dev key generated with this command: openssl genrsa -3 -out board/hatch_fp/dev_key.pem 3072 BRANCH=none BUG=b:124996507 TEST=make BOARD=hatch_fp Change-Id: I7d7f0ce6807f7db9ee67e2e9b72ba6b2a0b87591 Signed-off-by: Nicolas Norvez <norvez@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1482059 Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Diffstat (limited to 'board/hatch_fp/ec.tasklist')
-rw-r--r--board/hatch_fp/ec.tasklist23
1 files changed, 23 insertions, 0 deletions
diff --git a/board/hatch_fp/ec.tasklist b/board/hatch_fp/ec.tasklist
new file mode 100644
index 0000000000..ec2bc3c268
--- /dev/null
+++ b/board/hatch_fp/ec.tasklist
@@ -0,0 +1,23 @@
+/* Copyright 2017 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/**
+ * List of enabled tasks in the priority order
+ *
+ * The first one has the lowest priority.
+ *
+ * For each task, use the macro TASK_ALWAYS(n, r, d, s) for base tasks and
+ * TASK_NOTEST(n, r, d, s) for tasks that can be excluded in test binaries,
+ * where :
+ * 'n' in the name of the task
+ * 'r' in the main routine of the task
+ * 'd' in an opaque parameter passed to the routine at startup
+ * 's' is the stack size in bytes; must be a multiple of 8
+ */
+#define CONFIG_TASK_LIST \
+ TASK_ALWAYS_RO(RWSIG, rwsig_task, NULL, 1280) \
+ TASK_ALWAYS(HOOKS, hook_task, NULL, 1024) \
+ TASK_ALWAYS(HOSTCMD, host_command_task, NULL, 4096) \
+ TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE)