3 MBR Partition Entry and Table structure defintions.
5 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include "CommonLib.h"
23 #define MAX_MBR_PARTITIONS 4
26 // MBR Partition Entry
39 } MBR_PARTITION_RECORD
;
42 // MBR Partition table
46 UINT32 UniqueMbrSignature
;
48 MBR_PARTITION_RECORD PartitionRecord
[MAX_MBR_PARTITIONS
];
54 #define MBR_SIGNATURE 0xAA55
55 #define EXTENDED_DOS_PARTITION 0x05
56 #define EXTENDED_WINDOWS_PARTITION 0x0F