ReactOS 0.4.16-dev-2610-ge2c92c0
part_gpt.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for part_gpt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _GPT_TABLE_HEADER
 
struct  _GPT_PARTITION_ENTRY
 

Macros

#define EFI_PARTITION_HEADER_SIGNATURE   "EFI PART"
 
#define EFI_HEADER_LOCATION   1ULL
 
#define EFI_TABLE_REVISION   0x00010000
 
#define EFI_PARTITION_ENTRIES_BLOCK   2ULL
 
#define EFI_PARTITION_ENTRY_COUNT   128
 
#define EFI_PARTITION_ENTRY_SIZE   128
 
#define EFI_PARTITION_NAME_LENGTH   36
 
#define EFI_PART_TYPE_UNUSED_GUID    {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}
 
#define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID    {0xc12a7328, 0xf81f, 0x11d2, {0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b}}
 
#define PARTITION_GPT   0xEE
 

Typedefs

typedef struct _GPT_TABLE_HEADER GPT_TABLE_HEADER
 
typedef struct _GPT_TABLE_HEADERPGPT_TABLE_HEADER
 
typedef struct _GPT_PARTITION_ENTRY GPT_PARTITION_ENTRY
 
typedef struct _GPT_PARTITION_ENTRYPGPT_PARTITION_ENTRY
 

Functions

 C_ASSERT (sizeof(GPT_TABLE_HEADER)==92)
 
 C_ASSERT (sizeof(GPT_PARTITION_ENTRY)==128)
 

Macro Definition Documentation

◆ EFI_HEADER_LOCATION

#define EFI_HEADER_LOCATION   1ULL

Definition at line 12 of file part_gpt.h.

◆ EFI_PART_TYPE_EFI_SYSTEM_PART_GUID

#define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID    {0xc12a7328, 0xf81f, 0x11d2, {0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b}}

Definition at line 23 of file part_gpt.h.

◆ EFI_PART_TYPE_UNUSED_GUID

#define EFI_PART_TYPE_UNUSED_GUID    {0x00000000, 0x0000, 0x0000, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}

Definition at line 20 of file part_gpt.h.

◆ EFI_PARTITION_ENTRIES_BLOCK

#define EFI_PARTITION_ENTRIES_BLOCK   2ULL

Definition at line 14 of file part_gpt.h.

◆ EFI_PARTITION_ENTRY_COUNT

#define EFI_PARTITION_ENTRY_COUNT   128

Definition at line 15 of file part_gpt.h.

◆ EFI_PARTITION_ENTRY_SIZE

#define EFI_PARTITION_ENTRY_SIZE   128

Definition at line 16 of file part_gpt.h.

◆ EFI_PARTITION_HEADER_SIGNATURE

#define EFI_PARTITION_HEADER_SIGNATURE   "EFI PART"

Definition at line 11 of file part_gpt.h.

◆ EFI_PARTITION_NAME_LENGTH

#define EFI_PARTITION_NAME_LENGTH   36

Definition at line 17 of file part_gpt.h.

◆ EFI_TABLE_REVISION

#define EFI_TABLE_REVISION   0x00010000

Definition at line 13 of file part_gpt.h.

◆ PARTITION_GPT

#define PARTITION_GPT   0xEE

Definition at line 27 of file part_gpt.h.

Typedef Documentation

◆ GPT_PARTITION_ENTRY

◆ GPT_TABLE_HEADER

◆ PGPT_PARTITION_ENTRY

◆ PGPT_TABLE_HEADER

Function Documentation

◆ C_ASSERT() [1/2]

C_ASSERT ( sizeof(GPT_PARTITION_ENTRY = =128)

◆ C_ASSERT() [2/2]

C_ASSERT ( sizeof(GPT_TABLE_HEADER = =92)