6 Copyright (c) 1998 Intel Corporation
13 Info about disk partitions and Master Boot Records
26 #define EFI_PARTITION 0xef
42 } MBR_PARTITION_RECORD
;
44 #define EXTRACT_UINT32(D) (UINT32)(D[0] | (D[1] << 8) | (D[2] << 16) | (D[3] << 24))
46 #define MBR_SIGNATURE 0xaa55
47 #define MIN_MBR_DEVICE_SIZE 0x80000
48 #define MBR_ERRATA_PAD 0x40000 // 128 MB
50 #define MAX_MBR_PARTITIONS 4
52 UINT8 BootStrapCode
[440];
53 UINT8 UniqueMbrSignature
[4];
55 MBR_PARTITION_RECORD Partition
[MAX_MBR_PARTITIONS
];