Fix broken GPT structure

This commit is contained in:
Alex
2023-05-13 06:31:56 +03:00
parent 61c53c127c
commit 8c98265e06
2 changed files with 14 additions and 21 deletions

View File

@ -62,16 +62,14 @@ namespace Disk
uint8_t Signature[2];
} __packed;
struct GUIDPartitionTablePartition
struct GUIDPartitionTableEntry
{
uint64_t TypeLow;
uint64_t TypeHigh;
uint64_t GUIDLow;
uint64_t GUIDHigh;
uint64_t StartLBA;
uint64_t EndLBA;
uint8_t PartitionType[16];
uint8_t UniquePartitionGUID[16];
uint64_t FirstLBA;
uint64_t LastLBA;
uint64_t Attributes;
char Label[72];
uint16_t PartitionName[36];
} __packed;
struct GUIDPartitionTable