comparison services/ffs/ffs_pool_size.h @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:75a11d740a02
1 /**
2 * @file ffs_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 * 09/03/2004 Tommy Jensen Split pool size into several defines
20 *
21 * This code is in the public domain per the order of the
22 * Supreme Revolutionary Command.
23 */
24
25 #ifndef __FFS_POOL_SIZE_H_
26 #define __FFS_POOL_SIZE_H_
27
28 #include "../../include/config.h"
29 #include "../../riviera/rv/rv_defined_swe.h"
30
31 /*
32 * Values used in ffs_env.h
33 */
34 #define FFS_STACK_SIZE (1024)
35 #define FFS_MAILBUF_SIZE (1024) // Default: Max 20 pending FFS mails.
36 #define FFS_TESTBUF_SIZE (0) // Must be set to zero
37
38 #if (!GSMLITE)
39 #ifdef RVM_MSFE_SWE
40 #define FFS_STREAMBUF_SIZE (40960)
41 #else
42 #define FFS_STREAMBUF_SIZE (8192)
43 #endif // RVM_MSFE_SWE
44 #else
45 #define FFS_STREAMBUF_SIZE (4096)
46 #endif // GSMLITE
47
48 #define FFS_MB1_SIZE (FFS_STREAMBUF_SIZE + FFS_MAILBUF_SIZE + FFS_TESTBUF_SIZE)
49 #define FFS_POOL_SIZE (FFS_STACK_SIZE + FFS_MB1_SIZE)
50
51
52 #endif /*__FFS_POOL_SIZE_H_*/