/*static char *SCCSID = "@(#)boot.h	6.1 90/11/18";*/
/*static char *SCCSID = "@(#)boot.h	13.3 90/05/09";*/
/*
 * Structures for boot sector.
 */

typedef struct EXTENDED_BPB { /* EXTENDED_BPB */
	USHORT BytePerSector;
	BYTE SectorsPerCluster;
	USHORT ReservedSectors;
	BYTE NumberOfFATs;
	USHORT RootEntries;
	USHORT TotalSectors;
	BYTE MediaDescriptor;
	USHORT SectorsPerFat;
	USHORT SectorsPerTrack;
	USHORT Heads;
	ULONG HiddenSectors;
	ULONG Ext_totalSectors;
} EXTENDED_BPB; 


#define SYS_ID_LEN	8
#define VOL_LABEL_LEN	11

typedef struct EXTENDED_BOOT { /* EXTENDED_BOOT */
	BYTE Boot_jmp [3];
	BYTE Boot_OEM [8];
	EXTENDED_BPB Boot_BPB;
	BYTE Boot_DriveNumber;
	BYTE Boot_CurrentHead;
	BYTE Boot_Sig;		/* should always be 0x41 */
	ULONG Boot_Serial;
	BYTE Boot_Vol_label [VOL_LABEL_LEN];
	BYTE Boot_System_ID [SYS_ID_LEN];
} EXTENDED_BOOT; 

typedef EXTENDED_BOOT far *PEXTENDED_BOOT;
