projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wide tnode support
[yaffs2.git]
/
yaffs_guts.h
diff --git
a/yaffs_guts.h
b/yaffs_guts.h
index 73375cc3f8fbbe8adf36e22fef73daa50f729d07..0a18dee197eaaeffda542bfc0e9b05afb5b5005a 100644
(file)
--- 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.
*
*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: yaffs_guts.h,v 1.1
6 2005-10-09 07:55:00
charles Exp $
+ * $Id: yaffs_guts.h,v 1.1
7 2005-12-07 21:49:18
charles Exp $
*/
#ifndef __YAFFS_GUTS_H__
*/
#ifndef __YAFFS_GUTS_H__
@@
-325,7
+325,7
@@
union yaffs_Tnode_union {
#else
union yaffs_Tnode_union *internal[YAFFS_NTNODES_INTERNAL];
#endif
#else
union yaffs_Tnode_union *internal[YAFFS_NTNODES_INTERNAL];
#endif
- __u16 level0[YAFFS_NTNODES_LEVEL0];
+/* __u16 level0[YAFFS_NTNODES_LEVEL0]; */
};
};
@@
-533,6
+533,8
@@
struct yaffs_DeviceStruct {
*/
void (*removeObjectCallback)(struct yaffs_ObjectStruct *obj);
*/
void (*removeObjectCallback)(struct yaffs_ObjectStruct *obj);
+ int wideTnodesDisabled; /* Set to disable wide tnodes */
+
/* End of stuff that must be set before initialisation. */
/* End of stuff that must be set before initialisation. */
@@
-540,6
+542,11
@@
struct yaffs_DeviceStruct {
__u16 chunkGroupBits; /* 0 for devices <= 32MB. else log2(nchunks) - 16 */
__u16 chunkGroupSize; /* == 2^^chunkGroupBits */
__u16 chunkGroupBits; /* 0 for devices <= 32MB. else log2(nchunks) - 16 */
__u16 chunkGroupSize; /* == 2^^chunkGroupBits */
+
+ /* Stuff to support wide tnodes */
+ __u32 tnodeWidth;
+ __u32 tnodeMask;
+
#ifdef __KERNEL__
#ifdef __KERNEL__