comparison chipsetsw/drivers/drv_app/ffs/ffs_pool_size.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
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 * (C) Copyright 2003 by Texas Instruments Incorporated, All Rights Reserved
22 */
23
24 #ifndef __FFS_POOL_SIZE_H_
25 #define __FFS_POOL_SIZE_H_
26
27
28 #ifndef _WINDOWS
29 #include "config/swconfig.cfg"
30 #endif
31 #include "rv/rv_defined_swe.h"
32
33
34 /*
35 * Values used in ffs_env.h
36 */
37 #define FFS_STACK_SIZE (1024)
38 #define FFS_MAILBUF_SIZE (1024) // Default: Max 20 pending FFS mails.
39 #define FFS_TESTBUF_SIZE (0) // Must be set to zero
40
41 #if (!GSMLITE)
42 #ifdef RVM_MSFE_SWE
43 #define FFS_STREAMBUF_SIZE (40960)
44 #else
45 #define FFS_STREAMBUF_SIZE (8192)
46 #endif // RVM_MSFE_SWE
47 #else
48 #define FFS_STREAMBUF_SIZE (4096)
49 #endif // GSMLITE
50
51 #define FFS_MB1_SIZE (FFS_STREAMBUF_SIZE + FFS_MAILBUF_SIZE + FFS_TESTBUF_SIZE)
52 #define FFS_POOL_SIZE (FFS_STACK_SIZE + FFS_MB1_SIZE)
53
54
55 #endif /*__FFS_POOL_SIZE_H_*/