summaryrefslogtreecommitdiff
path: root/yaffs_guts.h
diff options
context:
space:
mode:
authorcharles <charles>2005-07-05 23:54:59 +0000
committercharles <charles>2005-07-05 23:54:59 +0000
commit21283903b8863d2c27d1320c0f6a1c1ea0c90ef3 (patch)
treecca2faa5a800f6bce52970fea92ea1ab7d32a4da /yaffs_guts.h
parent1611f6f850584af2a33e790f2e7e652d77ec6526 (diff)
Allow use of page zero
Diffstat (limited to 'yaffs_guts.h')
-rw-r--r--yaffs_guts.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/yaffs_guts.h b/yaffs_guts.h
index b770bde..3798714 100644
--- a/yaffs_guts.h
+++ b/yaffs_guts.h
@@ -14,7 +14,7 @@
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: yaffs_guts.h,v 1.5 2005-07-03 10:32:40 charles Exp $
+ * $Id: yaffs_guts.h,v 1.6 2005-07-05 23:54:59 charles Exp $
*/
#ifndef __YAFFS_GUTS_H__
@@ -558,6 +558,12 @@ struct yaffs_DeviceStruct
int isMounted;
+ // Stuff to support block offsetting to support start block zero
+ int internalStartBlock;
+ int internalEndBlock;
+ int blockOffset;
+ int chunkOffset;
+
// Block Info
yaffs_BlockInfo *blockInfo;
__u8 *chunkBits; // bitmap of chunks in use