version 1.1, 2002/12/26 12:31:32 |
version 1.1.4.4, 2005/12/11 10:29:10 |
|
|
* |
* |
* October 1992 |
* October 1992 |
*/ |
*/ |
|
#ifndef _MSDOSFS_BOOTSECT_H_ |
|
#define _MSDOSFS_BOOTSECT_H_ |
|
|
/* |
/* |
* Format of a boot sector. This is the first sector on a DOS floppy disk |
* Format of a boot sector. This is the first sector on a DOS floppy disk |
Line 58 struct bootsector50 { |
|
Line 60 struct bootsector50 { |
|
struct bootsector710 { |
struct bootsector710 { |
u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */ |
u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */ |
int8_t bsOEMName[8]; /* OEM name and version */ |
int8_t bsOEMName[8]; /* OEM name and version */ |
int8_t bsPBP[53]; /* BIOS parameter block */ |
int8_t bsBPB[53]; /* BIOS parameter block */ |
int8_t bsExt[26]; /* Bootsector Extension */ |
int8_t bsExt[26]; /* Bootsector Extension */ |
int8_t bsBootCode[418]; /* pad so structure is 512b */ |
int8_t bsBootCode[418]; /* pad so structure is 512b */ |
u_int8_t bsBootSectSig2; /* 2 & 3 are only defined for FAT32? */ |
u_int8_t bsBootSectSig2; /* 2 & 3 are only defined for FAT32? */ |
Line 110 union bootsector { |
|
Line 112 union bootsector { |
|
#define bsHiddenSecs bsBPB.bpbHiddenSecs |
#define bsHiddenSecs bsBPB.bpbHiddenSecs |
#define bsHugeSectors bsBPB.bpbHugeSectors |
#define bsHugeSectors bsBPB.bpbHugeSectors |
#endif |
#endif |
|
|
|
#endif /* _MSDOSFS_BOOTSECT_H_ */ |