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