X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs%2F.git;a=blobdiff_plain;f=yaffs_guts.h;fp=yaffs_guts.h;h=37287224d4cf4bac6c5ac8d258e2f9f88a756cae;hp=03f8d0de9bca39b8f606288fe24fcae66052fa7e;hb=f4fcac8940762ee7a3d606ddb3dd4ab7d9ac7868;hpb=5a41b9c9c1a7068f579cce83c757af27999249e8 diff --git a/yaffs_guts.h b/yaffs_guts.h index 03f8d0d..3728722 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.19 2005-03-29 22:43:38 charles Exp $ + * $Id: yaffs_guts.h,v 1.20 2005-06-25 03:22:24 charles Exp $ */ #ifndef __YAFFS_GUTS_H__ @@ -398,7 +398,7 @@ struct yaffs_DeviceStruct { // Entry parameters set up way early. Yaffs sets up the rest. int nBytesPerChunk; // Should be a power of 2 >= 512 - int nChunksPerBlock; // does not need to be a power of 2 + int nChunksPerBlock; // does not need to be a power of 2 int startBlock; // Start block we're allowed to use int endBlock; // End block we're allowed to use int nReservedBlocks; // We want this tuneable so that we can reduce @@ -420,6 +420,11 @@ struct yaffs_DeviceStruct int (*initialiseNAND)(struct yaffs_DeviceStruct *dev); // Runtime parameters. Set up by YAFFS. + int internalStartBlock; // Internal version of startBlock + int internalEndBlock; // End block we're allowed to use + int blockOffset; + int chunkOffset; + __u16 chunkGroupBits; // 0 for devices <= 32MB. else log2(nchunks) - 16 __u16 chunkGroupSize; // == 2^^chunkGroupBits