__u8 tagByte1;
__u8 tagByte2;
__u8 tagByte3;
- __u8 pageStatus;
+ __u8 pageStatus; // Currently unused, but sort of set aside to distinguish
+ // unused - vs- used -vs- deleted chunks. We achieve this by
+ // using the objectId tags.
__u8 blockStatus;
__u8 tagByte4;
__u8 tagByte5;
void *genericDevice; // Pointer to device context
// On an mtd this holds the mtd pointer.
+
+#ifdef __KERNEL__
+
struct semaphore sem;// Semaphore for waiting on erasure.
+
+#endif
// NAND access functions (Must be set before calling YAFFS)