projects
/
my-code
/
arm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no automatic \r\n tx in uart0_send_string function
[my-code/arm.git]
/
betty
/
pffs.h
diff --git
a/betty/pffs.h
b/betty/pffs.h
index
92b4821
..
72ec880
100644
(file)
--- a/
betty/pffs.h
+++ b/
betty/pffs.h
@@
-15,6
+15,8
@@
#define PFFS_REGISTERED (1<<0)
#define PFFS_REGISTERED (1<<0)
+#define PFFS_INDEX_MAGIC 0x7000
+
/* type definitions */
typedef struct s_pffs {
/* type definitions */
typedef struct s_pffs {
@@
-28,11
+30,10
@@
typedef struct s_pffs {
int (*fe)(u32 addr);
/* pffs internal variables */
u8 state;
int (*fe)(u32 addr);
/* pffs internal variables */
u8 state;
- u8 sec_num_data_min;
- u8 sec_num_data_max;
- u8 sec_num_index[2];
u32 data_ptr;
u32 index_ptr;
u32 data_ptr;
u32 index_ptr;
+ u8 sec_num_data[2];
+ u8 sec_num_index[2];
} t_pffs;
/* function prototypes */
} t_pffs;
/* function prototypes */