From 42ae768f08f2ec8a41d2ea2183f30a571f0c432f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 22 Apr 2025 08:48:07 +0200 Subject: 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 --- dev/kernel/FirmwareKit/VEPM.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'dev/kernel/FirmwareKit/VEPM.h') diff --git a/dev/kernel/FirmwareKit/VEPM.h b/dev/kernel/FirmwareKit/VEPM.h index 9d8fa4d4..2b95e12d 100644 --- a/dev/kernel/FirmwareKit/VEPM.h +++ b/dev/kernel/FirmwareKit/VEPM.h @@ -8,7 +8,36 @@ #define FIRMWAREKIT_VEPM_H #include +#include /// @brief The Virtual Explicit Partition Map scheme extension. +#ifdef __NE_VEPM__ +#ifdef kEPMMagic +#undef kEPMMagic +#endif // kEPMMagic + +#define kEPMMagic "EPMVM" + +/// @brief VEPM GUID. +/// @note This is the GUID used to identify a VEPM partition. +inline EPM_GUID kVEPMGuidEPM = { + 0x9a1b3f2e, + 0x4c3f, + 0x4d52, + { 0xa7, 0x83, 0x9c, 0x21, 0x7b, 0x5e, 0x4d, 0xac } +}; + +/// @brief VEPM GUID. +/// @note This is the GUID used to identify a VEPM partition (EFI version) +inline EfiGUID kVEPMGuidEFI = { + 0x9a1b3f2e, + 0x4c3f, + 0x4d52, + { 0xa7, 0x83, 0x9c, 0x21, 0x7b, 0x5e, 0x4d, 0xac } +}; + +#define kVEPMGuidStr "9a1b3f2e-4c3f-4d52-a783-9c217b5e4dac" +#endif // __NE_VEPM__ + #endif // FIRMWAREKIT_VEPM_H \ No newline at end of file -- cgit v1.2.3