| * $Id: nftl-user.h,v 1.1 2004/05/05 14:44:57 dwmw2 Exp $ |
| * Parts of NFTL headers shared with userspace |
| #ifndef __MTD_NFTL_USER_H__ |
| #define __MTD_NFTL_USER_H__ |
| /* Block Control Information */ |
| }__attribute__((packed)); |
| /* Unit Control Information */ |
| uint16_t SpareVirtUnitNum; |
| uint16_t SpareReplUnitNum; |
| } __attribute__((packed)); |
| } __attribute__((packed)); |
| } __attribute__((packed)); |
| uint16_t FirstPhysicalEUN; |
| unsigned char UnitSizeFactor; |
| } __attribute__((packed)); |
| #define MAX_ERASE_ZONES (8192 - 512) |
| #define ERASE_MARK 0x3c69 |
| #define SECTOR_IGNORE 0x11 |
| #define SECTOR_DELETED 0x00 |
| #define FOLD_MARK_IN_PROGRESS 0x5555 |
| #define ZONE_BAD_ORIGINAL 0 |
| #define ZONE_BAD_MARKED 7 |
| #endif /* __MTD_NFTL_USER_H__ */ |