FreeCalypso > hg > freecalypso-citrine
comparison services/ffs/ramffs.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 * 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 */ |