diff options
Diffstat (limited to 'board/snow/ec.tasklist')
-rw-r--r-- | board/snow/ec.tasklist | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/board/snow/ec.tasklist b/board/snow/ec.tasklist index c9785dd4a9..7c99047a1f 100644 --- a/board/snow/ec.tasklist +++ b/board/snow/ec.tasklist @@ -8,17 +8,18 @@ * * The first one has the lowest priority. * - * For each task, use the macro TASK(n, r, d) where : + * For each task, use the macro TASK(n, r, d, s) 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(WATCHDOG, watchdog_task, NULL) \ - TASK(VBOOTHASH, vboot_hash_task, NULL) \ - TASK(POWERLED, power_led_task, NULL) \ - TASK(PMU_TPS65090_CHARGER, pmu_charger_task, NULL) \ - TASK(KEYSCAN, keyboard_scan_task, NULL) \ - TASK(GAIAPOWER, gaia_power_task, NULL) \ - TASK(CONSOLE, console_task, NULL) \ - TASK(HOSTCMD, host_command_task, NULL) + TASK(WATCHDOG, watchdog_task, NULL, 256) \ + TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ + TASK(POWERLED, power_led_task, NULL, 256) \ + TASK(PMU_TPS65090_CHARGER, pmu_charger_task, NULL, TASK_STACK_SIZE) \ + TASK(KEYSCAN, keyboard_scan_task, NULL, 256) \ + TASK(GAIAPOWER, gaia_power_task, NULL, TASK_STACK_SIZE) \ + TASK(CONSOLE, console_task, NULL, TASK_STACK_SIZE) \ + TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) |