comparison yaffs_packedtags2.h @ 300:4d9d442da93f

Allow the disabling of tags ECC
author charles <charles>
date Wed, 14 Oct 2009 00:01:56 +0000
parents c0dfae9e8073
children 1d1b453d8b57
comparison
equal deleted inserted replaced
299:acc06403a0bc 300:4d9d442da93f
32 yaffs_PackedTags2TagsPart t; 32 yaffs_PackedTags2TagsPart t;
33 yaffs_ECCOther ecc; 33 yaffs_ECCOther ecc;
34 } yaffs_PackedTags2; 34 } yaffs_PackedTags2;
35 35
36 /* Full packed tags with ECC, used for oob tags */ 36 /* Full packed tags with ECC, used for oob tags */
37 void yaffs_PackTags2(yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t); 37 void yaffs_PackTags2(yaffs_Device *dev, yaffs_PackedTags2 *pt, const yaffs_ExtendedTags *t);
38 void yaffs_UnpackTags2(yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt); 38 void yaffs_UnpackTags2(yaffs_Device *dev, yaffs_ExtendedTags *t, yaffs_PackedTags2 *pt);
39 39
40 /* Only the tags part (no ECC for use with inband tags */ 40 /* Only the tags part (no ECC for use with inband tags */
41 void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t); 41 void yaffs_PackTags2TagsPart(yaffs_PackedTags2TagsPart *pt, const yaffs_ExtendedTags *t);
42 void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt); 42 void yaffs_UnpackTags2TagsPart(yaffs_ExtendedTags *t, yaffs_PackedTags2TagsPart *pt);
43 #endif 43 #endif