FreeCalypso > hg > freecalypso-sw
view gsm-fw/services/ffs/ramffs.h @ 664:d36f647c2432
gsm-fw/comlib: initial import of TI's source
cl_des.c and cl_imei.c are from the Leonardo semi-src; others are from LoCosto
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 28 Sep 2014 05:09:53 +0000 |
parents | 6f4a12b4582f |
children |
line wrap: on
line source
/* * This FFS implementation header file is a FreeCalypso addition. * Here we have some preprocessor magic and extern declarations * for the FFS-in-RAM configuration which are needed at both * "flash driver" and "FFS configuration" abstraction levels. */ #include "../../include/config.h" #if FFS_IN_RAM #define RAMFFS_BLKSIZE_BYTES (1 << RAMFFS_BLKSIZE_LOG2) #define RAMFFS_TOTAL_SIZE (RAMFFS_BLKSIZE_BYTES * RAMFFS_NBLOCKS) extern char _RAMFFS_area[RAMFFS_TOTAL_SIZE]; #endif /* FFS_IN_RAM */