FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/riviera/rvf/rvf_mem_pool.c @ 516:78495749970a
gsm-fw: Riviera memory pool moved from ext.bss to ext.ram
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 10 Jul 2014 00:54:34 +0000 |
parents | afceeeb2cba1 |
children |
comparison
equal
deleted
inserted
replaced
515:cb38dc8aed39 | 516:78495749970a |
---|---|
2 /* */ | 2 /* */ |
3 /* Name rvf_mem_pool.c */ | 3 /* Name rvf_mem_pool.c */ |
4 /* */ | 4 /* */ |
5 /* Function this file contains the definition of main memory pool */ | 5 /* Function this file contains the definition of main memory pool */ |
6 /* */ | 6 /* */ |
7 /* Version 0.1 */ | 7 /* Version 0.1 */ |
8 /* */ | 8 /* */ |
9 /* Date Modification */ | 9 /* Date Modification */ |
10 /* ------------------------------------ */ | 10 /* ------------------------------------ */ |
11 /* 06/08/02 Create */ | 11 /* 06/08/02 Create */ |
12 /* */ | 12 /* */ |
13 /* Author Laurent Sollier (l-sollier@ti.com) */ | 13 /* Author Laurent Sollier (l-sollier@ti.com) */ |
14 /* */ | 14 /* */ |
15 /* (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved*/ | 15 /* (C) Copyright 2002 by Texas Instruments Incorporated, All Rights Reserved*/ |
16 /****************************************************************************/ | 16 /****************************************************************************/ |
17 | 17 |
18 #include "rvf_pool_size.h" | 18 #include "rvf_pool_size.h" |
19 #include "rvf_cust.h" | 19 #include "rvf_cust.h" |
22 /* Define the buffer pools */ | 22 /* Define the buffer pools */ |
23 T_RVF_POOL _rvf_pools[RVF_NB_POOLS]; | 23 T_RVF_POOL _rvf_pools[RVF_NB_POOLS]; |
24 | 24 |
25 | 25 |
26 /* allocated static buffer pools */ | 26 /* allocated static buffer pools */ |
27 UINT8 Buf0[RVF_POOL_0_SIZE]; | 27 UINT8 Buf0[RVF_POOL_0_SIZE] __attribute__ ((section ("ext.ram"))); |
28 | 28 |
29 #if (RVF_NB_POOLS > 1) | 29 #if (RVF_NB_POOLS > 1) |
30 UINT8 Buf1[RVF_POOL_1_SIZE]; | 30 UINT8 Buf1[RVF_POOL_1_SIZE] __attribute__ ((section ("int.ram"))); |
31 #endif | 31 #endif |
32 | 32 |
33 /******************************************************************************* | 33 /******************************************************************************* |
34 ** | 34 ** |
35 ** Function _rvf_init_mem_pool | 35 ** Function _rvf_init_mem_pool |