diff options
Diffstat (limited to 'dev/kernel/FirmwareKit')
| -rw-r--r-- | dev/kernel/FirmwareKit/GPT.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev/kernel/FirmwareKit/GPT.h b/dev/kernel/FirmwareKit/GPT.h index 40a7e899..9a6cffc6 100644 --- a/dev/kernel/FirmwareKit/GPT.h +++ b/dev/kernel/FirmwareKit/GPT.h @@ -9,7 +9,8 @@ #include <NewKit/Defines.h> #include <FirmwareKit/EFI/EFI.h> -#define kSectorSizeGPT (420U) +#define kSectorAlignGPT_Part (420U) +#define kSectorAlignGPT_PartEntry (72U) #define kPartNameGPT (8U) namespace Kernel @@ -43,7 +44,7 @@ namespace Kernel UInt32 NumPartitionEntries; UInt32 SizeOfEntries; UInt32 CRC32PartEntry; - UInt8 Reserved2[kSectorSizeGPT]; + UInt8 Reserved2[kSectorAlignGPT_Part]; }; struct PACKED GPT_PARTITION_ENTRY @@ -53,6 +54,6 @@ namespace Kernel UInt64 StartLBA; UInt64 EndLBA; UInt64 Attributes; - UInt8 Name[72]; + UInt8 Name[kSectorAlignGPT_PartEntry]; }; } // namespace Kernel |
