2 EFI Guid Partition Table Format Definition.
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #define PRIMARY_PART_HEADER_LBA 1
21 #define EFI_PTAB_HEADER_ID "EFI PART"
25 // GPT Partition Table Header
28 EFI_TABLE_HEADER Header
;
31 EFI_LBA FirstUsableLBA
;
32 EFI_LBA LastUsableLBA
;
34 EFI_LBA PartitionEntryLBA
;
35 UINT32 NumberOfPartitionEntries
;
36 UINT32 SizeOfPartitionEntry
;
37 UINT32 PartitionEntryArrayCRC32
;
38 } EFI_PARTITION_TABLE_HEADER
;
41 // GPT Partition Entry
44 EFI_GUID PartitionTypeGUID
;
45 EFI_GUID UniquePartitionGUID
;
49 CHAR16 PartitionName
[36];
50 } EFI_PARTITION_ENTRY
;
53 // GPT Partition Entry Status
58 } EFI_PARTITION_ENTRY_STATUS
;