xref: /illumos-gate/usr/src/boot/efi/include/Guid/Gpt.h (revision 1a2d662a91cee3bf82f41cd47c7ae6f3825d9db2)
1 /** @file
2   Guids used for the GPT (GUID Partition Table)
3 
4   GPT defines a new disk partitioning scheme and also describes
5   usage of the legacy Master Boot Record (MBR) partitioning scheme.
6 
7   Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
8   SPDX-License-Identifier: BSD-2-Clause-Patent
9 
10   @par Revision Reference:
11   GUIDs defined in UEFI 2.1 spec.
12 
13 **/
14 
15 #ifndef __GPT_GUID_H__
16 #define __GPT_GUID_H__
17 
18 #define EFI_PART_TYPE_UNUSED_GUID \
19   { \
20     0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } \
21   }
22 
23 #define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \
24   { \
25     0xc12a7328, 0xf81f, 0x11d2, {0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b } \
26   }
27 
28 #define EFI_PART_TYPE_LEGACY_MBR_GUID \
29   { \
30     0x024dee41, 0x33e7, 0x11d3, {0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f } \
31   }
32 
33 extern EFI_GUID  gEfiPartTypeUnusedGuid;
34 extern EFI_GUID  gEfiPartTypeSystemPartGuid;
35 extern EFI_GUID  gEfiPartTypeLegacyMbrGuid;
36 
37 #endif
38