diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-07 21:51:37 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-07 21:51:37 +0100 |
| commit | d302a6f4761ef2eee60416736ffb24144cbe6cc9 (patch) | |
| tree | 1284ef914d73807b0ffb05c3da8e81de6ec8e6a9 /dev/Kernel/FirmwareKit/EPM.h | |
| parent | b9d03439f07d9c38b8349a4cdf567de3e7b1524c (diff) | |
ADD: Refactor EPM according to specs.
Diffstat (limited to 'dev/Kernel/FirmwareKit/EPM.h')
| -rw-r--r-- | dev/Kernel/FirmwareKit/EPM.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/Kernel/FirmwareKit/EPM.h b/dev/Kernel/FirmwareKit/EPM.h index 8987ae6f..101316e4 100644 --- a/dev/Kernel/FirmwareKit/EPM.h +++ b/dev/Kernel/FirmwareKit/EPM.h @@ -50,7 +50,7 @@ ///! @brief partition must start at this address. ///! Anything below is reserved for Data backup by the Main OS. -#define kEPMPartBlockLba (sizeof(EPM_BOOT_BLOCK)) +#define kEPMPartBlockLba (sizeof(EPM_PART_BLOCK)) ///! @brief Current EPM revision. #define kEPMRevisionBcd (0x0100) @@ -61,7 +61,7 @@ #define kEPMReserveLen (401) struct EPM_GUID; -struct EPM_BOOT_BLOCK; +struct EPM_PART_BLOCK; /* The first 0 > 128 addresses of a disk contains these headers. */ @@ -78,7 +78,7 @@ typedef struct EPM_GUID * @brief The EPM boot block. * @note NumBlock and LbaStart are ignored on some platforms. */ -struct PACKED EPM_BOOT_BLOCK +struct PACKED EPM_PART_BLOCK { Kernel::Char Magic[kEPMMagicLength]; Kernel::Char Name[kEPMNameLength]; @@ -107,6 +107,6 @@ enum kEPMInvalidOS = 0xff, }; -typedef struct EPM_BOOT_BLOCK BOOT_BLOCK_STRUCT; +typedef struct EPM_PART_BLOCK BOOT_BLOCK_STRUCT; #endif // ifndef FIRMWAREKIT_EPM_H |
