u_int8_t -> uint8_t
This commit is contained in:
parent
becc33e887
commit
cbeb02479d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bootsect.h,v 1.5 2012/11/04 17:57:59 jakllsch Exp $ */
|
||||
/* $NetBSD: bootsect.h,v 1.6 2016/01/22 22:48:18 dholland Exp $ */
|
||||
|
||||
/*
|
||||
* Written by Paul Popelka (paulp@uts.amdahl.com)
|
||||
|
@ -24,13 +24,13 @@
|
|||
* first sector of a partitioned hard disk.
|
||||
*/
|
||||
struct bootsector33 {
|
||||
u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
uint8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
int8_t bsOemName[8]; /* OEM name and version */
|
||||
int8_t bsBPB[19]; /* BIOS parameter block */
|
||||
int8_t bsDriveNumber; /* drive number (0x80) */
|
||||
int8_t bsBootCode[479]; /* pad so struct is 512b */
|
||||
u_int8_t bsBootSectSig0;
|
||||
u_int8_t bsBootSectSig1;
|
||||
uint8_t bsBootSectSig0;
|
||||
uint8_t bsBootSectSig1;
|
||||
#define BOOTSIG0 0x55
|
||||
#define BOOTSIG1 0xaa
|
||||
};
|
||||
|
@ -46,25 +46,25 @@ struct extboot {
|
|||
};
|
||||
|
||||
struct bootsector50 {
|
||||
u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
uint8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
int8_t bsOemName[8]; /* OEM name and version */
|
||||
int8_t bsBPB[25]; /* BIOS parameter block */
|
||||
int8_t bsExt[26]; /* Bootsector Extension */
|
||||
int8_t bsBootCode[448]; /* pad so structure is 512b */
|
||||
u_int8_t bsBootSectSig0;
|
||||
u_int8_t bsBootSectSig1;
|
||||
uint8_t bsBootSectSig0;
|
||||
uint8_t bsBootSectSig1;
|
||||
#define BOOTSIG0 0x55
|
||||
#define BOOTSIG1 0xaa
|
||||
};
|
||||
|
||||
struct bootsector710 {
|
||||
u_int8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
uint8_t bsJump[3]; /* jump inst E9xxxx or EBxx90 */
|
||||
int8_t bsOEMName[8]; /* OEM name and version */
|
||||
int8_t bsBPB[53]; /* BIOS parameter block */
|
||||
int8_t bsExt[26]; /* Bootsector Extension */
|
||||
int8_t bsBootCode[420]; /* pad so structure is 512b */
|
||||
u_int8_t bsBootSectSig0;
|
||||
u_int8_t bsBootSectSig1;
|
||||
uint8_t bsBootSectSig0;
|
||||
uint8_t bsBootSectSig1;
|
||||
#define BOOTSIG0 0x55
|
||||
#define BOOTSIG1 0xaa
|
||||
};
|
||||
|
@ -76,7 +76,7 @@ struct bootsector710 {
|
|||
*/
|
||||
#if 0
|
||||
struct bootsec_atari {
|
||||
u_int8_t bsBranch[2]; /* branch inst if auto-boot */
|
||||
uint8_t bsBranch[2]; /* branch inst if auto-boot */
|
||||
int8_t bsFiller[6]; /* anything or nothing */
|
||||
int8_t bsSerial[3]; /* serial no. for mediachange */
|
||||
int8_t bsBPB[19]; /* BIOS parameter block */
|
||||
|
|
Loading…
Reference in New Issue