26#define MBR_MAGIC 0xAA55
28#define PARTITION_UNUSED 0x00
29#define PARTITION_ACTIVE 0x80
31#define PARTITION_COUNT 4
33#define MBR_SECTOR(x) ((x)&0x3F)
34#define MBR_CYLINDER(x) ((x)>>8|((x)<<2&0x300))
struct disk_partition partition[PARTITION_COUNT]
unsigned char e_cyl_sec[2]
unsigned char s_cyl_sec[2]
unsigned char boot_sec[4]