PS2SDK
PS2 Homebrew Libraries
gpt_types.h File Reference
#include <types.h>
+ Include dependency graph for gpt_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GPT_PART_ATTR_PLATFORM_REQUIRED   0x1
 
#define GPT_PART_ATTR_IGNORE   0x2
 
#define GPT_PART_ATTR_LEGACY_BOOTABLE   0x4
 
#define GPT_PART_ATTR_TYPE_SHIFT   48
 
#define GPT_PART_ATTR_TYPE_MASK   0xFFFF
 
#define GPT_PART_ATTR_TYPE_SPECIFIC(attr)   ((attr >> GPT_PART_ATTR_TYPE_SHIFT) & GPT_PART_ATTR_TYPE_MASK)
 
#define GPT_BDP_ATTR_READ_ONLY   0x1000
 
#define GPT_BDP_ATTR_SHADOW_COPY   0x2000
 
#define GPT_BDP_ATTR_HIDDEN   0x4000
 
#define GPT_BDP_ATTR_NO_DRIVE_LETTER   0x8000
 

Functions

struct __attribute__ ((packed)) _gpt_partition_table_header
 

Variables

static const u8 EFI_PARTITION_SIGNATURE [8] = { 'E', 'F', 'I', ' ', 'P', 'A', 'R', 'T' }
 
 gpt_partition_table_header
 
static const u8 NULL_GUID [16] = { 0 }
 
static const u8 MS_RESERVED_PARTITION_GUID [16] = { 0x16, 0xE3, 0xC9, 0xE3, 0x5C, 0x0B, 0xB8, 0x4D, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE }
 
static const u8 EFI_SYSTEM_PARTITION [16] = { 0x28, 0x73, 0x2A, 0xC1, 0x1F, 0xF8, 0xD2, 0x11, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B }
 
static const u8 MS_BASIC_DATA_PARTITION_GUID [16] = { 0xA2, 0xA0, 0xD0, 0xEB, 0xE5, 0xB9, 0x33, 0x44, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7 }
 
 gpt_partition_table_entry
 

Detailed Description

GPT partition definitions.

Definition in file gpt_types.h.