sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
gpt_types.h File Reference
#include <types.h>

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)
#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

 gpt_partition_table_header
 gpt_partition_table_entry

Detailed Description

GPT partition definitions.

Definition in file gpt_types.h.

Macro Definition Documentation

◆ GPT_BDP_ATTR_HIDDEN

#define GPT_BDP_ATTR_HIDDEN   0x4000

Definition at line 68 of file gpt_types.h.

◆ GPT_BDP_ATTR_NO_DRIVE_LETTER

#define GPT_BDP_ATTR_NO_DRIVE_LETTER   0x8000

Definition at line 69 of file gpt_types.h.

◆ GPT_BDP_ATTR_READ_ONLY

#define GPT_BDP_ATTR_READ_ONLY   0x1000

Definition at line 66 of file gpt_types.h.

◆ GPT_BDP_ATTR_SHADOW_COPY

#define GPT_BDP_ATTR_SHADOW_COPY   0x2000

Definition at line 67 of file gpt_types.h.

◆ GPT_PART_ATTR_IGNORE

#define GPT_PART_ATTR_IGNORE   0x2

Definition at line 58 of file gpt_types.h.

◆ GPT_PART_ATTR_LEGACY_BOOTABLE

#define GPT_PART_ATTR_LEGACY_BOOTABLE   0x4

Definition at line 59 of file gpt_types.h.

◆ GPT_PART_ATTR_PLATFORM_REQUIRED

#define GPT_PART_ATTR_PLATFORM_REQUIRED   0x1

Definition at line 57 of file gpt_types.h.

◆ GPT_PART_ATTR_TYPE_MASK

#define GPT_PART_ATTR_TYPE_MASK   0xFFFF

Definition at line 62 of file gpt_types.h.

◆ GPT_PART_ATTR_TYPE_SHIFT

#define GPT_PART_ATTR_TYPE_SHIFT   48

Definition at line 61 of file gpt_types.h.

◆ GPT_PART_ATTR_TYPE_SPECIFIC

#define GPT_PART_ATTR_TYPE_SPECIFIC ( attr)
Value:
((attr >> GPT_PART_ATTR_TYPE_SHIFT) & GPT_PART_ATTR_TYPE_MASK)

Definition at line 63 of file gpt_types.h.

Function Documentation

◆ __attribute__()

struct __attribute__ ( (packed) )

Definition at line 21 of file gpt_types.h.

Variable Documentation

◆ gpt_partition_table_entry

gpt_partition_table_entry

Definition at line 55 of file gpt_types.h.

◆ gpt_partition_table_header

gpt_partition_table_header

Definition at line 39 of file gpt_types.h.