summaryrefslogtreecommitdiff
path: root/board/cr50/ec.tasklist
blob: fd72cafaf9bd3d58eb29cbffa6c3dc1b315c8806 (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 + 512)
#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)