summaryrefslogtreecommitdiff
path: root/board/cr50/ec.tasklist
blob: 4b60741a76072877d2e93f7c8a74b51c143ca5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2014 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.
 */

/**
 * See CONFIG_TASK_LIST in config.h for details.
 */

#ifdef CRYPTO_TEST_SETUP
/* some crypto testing console commands require larger stack */
#define CONSOLE_STACK_SIZE (CONFIG_STACK_SIZE + 1024)
#else
#define CONSOLE_STACK_SIZE CONFIG_STACK_SIZE
#endif

#define CONFIG_TASK_LIST \
	TASK_ALWAYS(HOOKS, hook_task, NULL, CONFIG_STACK_SIZE) \
	TASK_NOTEST(TPM, tpm_task, NULL, 8192) \
	TASK_ALWAYS(CONSOLE, console_task, NULL, CONSOLE_STACK_SIZE)