FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/ffs/ramffs.h @ 209:6f4a12b4582f
gsm-fw FFS: starting to integrate C code
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 26 Dec 2013 03:59:59 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
208:2abe6ade042d | 209:6f4a12b4582f |
---|---|
1 /* | |
2 * This FFS implementation header file is a FreeCalypso addition. | |
3 * Here we have some preprocessor magic and extern declarations | |
4 * for the FFS-in-RAM configuration which are needed at both | |
5 * "flash driver" and "FFS configuration" abstraction levels. | |
6 */ | |
7 | |
8 #include "../../include/config.h" | |
9 #if FFS_IN_RAM | |
10 | |
11 #define RAMFFS_BLKSIZE_BYTES (1 << RAMFFS_BLKSIZE_LOG2) | |
12 #define RAMFFS_TOTAL_SIZE (RAMFFS_BLKSIZE_BYTES * RAMFFS_NBLOCKS) | |
13 | |
14 extern char _RAMFFS_area[RAMFFS_TOTAL_SIZE]; | |
15 | |
16 #endif /* FFS_IN_RAM */ |