diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-22 08:48:07 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-22 08:48:07 +0200 |
| commit | 42ae768f08f2ec8a41d2ea2183f30a571f0c432f (patch) | |
| tree | 2a35117f79852db506b316e8f0e68a6bb70db9bd /dev/kernel/FirmwareKit/GPT.h | |
| parent | 4f8fb9c70f814de796d61d7d85d4bf133afddafa (diff) | |
dev, kernel: VEPM WiP implementation, and syschk fixes in WiP.
- Currently working on VEPM and adapting it to SysChk.
- Refactor DriveMgr for VEPM.
- Fix warnings in HeFS.cc, ALIGN(8) on HeFS.h
- Update PIO modules to use VEPM.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/FirmwareKit/GPT.h')
| -rw-r--r-- | dev/kernel/FirmwareKit/GPT.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/dev/kernel/FirmwareKit/GPT.h b/dev/kernel/FirmwareKit/GPT.h index aab6b650..4be1fed2 100644 --- a/dev/kernel/FirmwareKit/GPT.h +++ b/dev/kernel/FirmwareKit/GPT.h @@ -17,19 +17,9 @@ namespace Kernel { - struct GPT_GUID; struct GPT_PARTITION_TABLE; struct GPT_PARTITION_ENTRY; - /// @brief GPT GUID structure. - typedef struct GPT_GUID - { - Kernel::UInt32 Data1; - Kernel::UInt16 Data2; - Kernel::UInt16 Data3; - Kernel::UInt8 Data4[8]; - } GPT_GUID; - struct PACKED GPT_PARTITION_TABLE final { Char Signature[kMagicLenGPT]; @@ -41,7 +31,7 @@ namespace Kernel UInt64 LBAAltHeader; UInt64 FirstGPTEntry; UInt64 LastGPTEntry; - GPT_GUID Guid; + EfiGUID Guid; UInt64 StartingLBA; UInt32 NumPartitionEntries; UInt32 SizeOfEntries; @@ -51,8 +41,8 @@ namespace Kernel struct PACKED GPT_PARTITION_ENTRY { - GPT_GUID PartitionTypeGUID; - GPT_GUID UniquePartitionGUID; + EfiGUID PartitionTypeGUID; + EfiGUID UniquePartitionGUID; UInt64 StartLBA; UInt64 EndLBA; UInt64 Attributes; |
