comparison src/cs/drivers/drv_app/kpd/kpd_pool_size.h @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /**
2 * @file kpd_pool_size.h
3 *
4 * Declarations of:
5 * - the memory bank sizes and their watermark
6 * - the SWE stack size
7 * - the pool size needed (generally the sum of memory bank and stack sizes)
8 *
9 * @author Vincent Oberle
10 * @version 0.1
11 */
12
13 /*
14 * History:
15 *
16 * Date Author Modification
17 * -------------------------------------------------------------------
18 * 07/08/2003 Vincent Oberle Extracted from rvf_pool_size.h
19 *
20 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
21 */
22
23 #ifndef __KPD_POOL_SIZE_H_
24 #define __KPD_POOL_SIZE_H_
25
26
27 #ifndef _WINDOWS
28 #include "config/board.cfg"
29 #endif
30
31
32 /*
33 * Values used in kpd_env.h
34 */
35 #define KPD_STACK_SIZE (1000)
36
37 #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9))
38 #define KPD_MB1_SIZE (716)
39 #elif ((BOARD == 34) || (BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43))
40 #define KPD_MB1_SIZE (788)
41 #elif defined _WINDOWS
42 #define KPD_MB1_SIZE (788)
43 #endif /* BOARD */
44
45 #define KPD_POOL_SIZE (KPD_STACK_SIZE + KPD_MB1_SIZE)
46
47
48 #endif /*__KPD_POOL_SIZE_H_*/