2 * pfs.h - pseudo flash filesystem header file
4 * author: hackbard@hackdaworld.org
16 #define PFFS_REGISTERED (1<<0)
18 #define PFFS_INDEX_MAGIC 0x7000
20 /* type definitions */
22 typedef struct s_pffs {
27 /* flash write, read and sector erase function pointers */
28 int (*fw)(u32 addr,u16 *buf,int len);
29 int (*fr)(u32 addr,u16 *buf,int len);
31 /* pffs internal variables */
39 /* function prototypes */