diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 03:02:43 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-24 03:02:43 +0100 |
| commit | 83d870e58457a1d335a1d9b9966a6a1887cc297b (patch) | |
| tree | 72888f88c7728c82f3f6df1f4f70591de15eab36 /src/kernel/FirmwareKit/VEPM.h | |
| parent | ab37adbacf0f33845804c788b39680cd754752a8 (diff) | |
feat! breaking changes on kernel sources.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/FirmwareKit/VEPM.h')
| -rw-r--r-- | src/kernel/FirmwareKit/VEPM.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/kernel/FirmwareKit/VEPM.h b/src/kernel/FirmwareKit/VEPM.h new file mode 100644 index 00000000..b2bee0d3 --- /dev/null +++ b/src/kernel/FirmwareKit/VEPM.h @@ -0,0 +1,47 @@ +/* ======================================== + + Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. + +======================================== */ + +#ifndef FIRMWAREKIT_VEPM_H +#define FIRMWAREKIT_VEPM_H + +#include <FirmwareKit/EFI.h> +#include <FirmwareKit/EPM.h> + +/// =========================================================== /// +/// @brief The Virtual Explicit Partition Map scheme extension. +/// =========================================================== /// + +#if defined(__NE_VEPM__) +#ifdef kEPMMagic +#undef kEPMMagic +#endif // kEPMMagic + +/// =========================================================== /// +/// @brief VEPM Ident String. +/// =========================================================== /// +#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 EFI_GUID kVEPMGuidEFI = { + 0x9a1b3f2e, 0x4c3f, 0x4d52, {0xa7, 0x83, 0x9c, 0x21, 0x7b, 0x5e, 0x4d, 0xac}}; + +/// =========================================================== /// +/// @brief VEPM GUID String. +/// =========================================================== /// +#define kVEPMGuidStr "9a1b3f2e-4c3f-4d52-a783-9c217b5e4dac" +#endif // __NE_VEPM__ + +#endif // FIRMWAREKIT_VEPM_H
\ No newline at end of file |
