This commit is contained in:
Hongze Cheng 2022-03-11 08:01:16 +00:00
parent 6126fad662
commit 2b0fa6d9c8
1 changed files with 13 additions and 5 deletions

View File

@ -23,13 +23,21 @@ extern "C" {
typedef u8 SCell;
typedef struct __attribute__((__packed__)) {
u16 flags;
u16 nCells;
u16 cellCont;
u16 freeCell;
u16 nFree;
u16 flags;
u16 nCells;
u16 cellCont;
u16 freeCell;
u16 nFree;
} SPageHdr;
typedef struct __attribute__((__packed__)) {
u16 flags;
u8 nCells[3];
u8 cellCont[3];
u8 freeCell[3];
u8 nFree[3];
} SPageHdrL;
typedef struct __attribute__((__packed__)) {
u8 cksm[4];
} SPageFtr;