diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-23 19:13:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-03-23 19:15:17 +0100 |
| commit | a13e1c0911c0627184bc38f18c7fdda64447b3ad (patch) | |
| tree | 073a62c09bf216e85a3f310376640fa1805147f9 /dev/Kernel/FirmwareKit/GPT.h | |
| parent | 149fa096eb306d03686b3b67e813cf1a78e08cd0 (diff) | |
meta(kernel): Reworked repository's filesystem structure.
Removing useless parts of the project too.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/FirmwareKit/GPT.h')
| -rw-r--r-- | dev/Kernel/FirmwareKit/GPT.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/dev/Kernel/FirmwareKit/GPT.h b/dev/Kernel/FirmwareKit/GPT.h deleted file mode 100644 index 91838bc7..00000000 --- a/dev/Kernel/FirmwareKit/GPT.h +++ /dev/null @@ -1,57 +0,0 @@ -/* ------------------------------------------- - - Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved. - -------------------------------------------- */ - -#pragma once - -#include <NewKit/Defines.h> -#include <FirmwareKit/EFI/EFI.h> - -#define kSectorSizeGPT (512U) - -namespace NeOS -{ - struct GPT_GUID; - struct GPT_PARTITION_TABLE; - struct GPT_PARTITION_ENTRY; - - /// @brief GPT GUID structure. - typedef struct GPT_GUID - { - NeOS::UInt32 Data1; - NeOS::UInt16 Data2; - NeOS::UInt16 Data3; - NeOS::UInt8 Data4[8]; - } GPT_GUID; - - struct PACKED GPT_PARTITION_TABLE final - { - Char PartitionName[8]; - UInt32 Revision; - UInt32 HeaderSize; - UInt32 ChecksumCRC32; - UInt32 Reserved1; - UInt64 LBAHeader; - UInt64 LBAAltHeader; - UInt64 FirstGPTEntry; - UInt64 LastGPTEntry; - GPT_GUID Guid; - UInt64 StartingLBA; - UInt32 NumPartitionEntries; - UInt32 SizeOfEntries; - UInt32 CRC32PartEntry; - UInt8 Reserved2[kSectorSizeGPT]; - }; - - struct PACKED GPT_PARTITION_ENTRY - { - GPT_GUID PartitionTypeGUID; - GPT_GUID UniquePartitionGUID; - UInt64 StartLBA; - UInt64 EndLBA; - UInt64 Attributes; - UInt8 Name[72]; - }; -} // namespace NeOS |
