diff options
| author | Amlal EL Mahrouss <amlal@softwarelabs.com> | 2024-06-08 10:32:50 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlal@softwarelabs.com> | 2024-06-08 10:32:50 +0200 |
| commit | df1b19604b3fcb9508d27d1d7e41bd3616eb78e5 (patch) | |
| tree | d7a54666312153410dc0c46f4c76f1cb94607c49 /Kernel/FirmwareKit | |
| parent | 9994b8f3f88131f41be1061fb0947177e66dc7b0 (diff) | |
MHR-28: Implement SMP support.
Now we need to feed the core code to finish our scheduler.
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
Diffstat (limited to 'Kernel/FirmwareKit')
| -rw-r--r-- | Kernel/FirmwareKit/EPM.hxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Kernel/FirmwareKit/EPM.hxx b/Kernel/FirmwareKit/EPM.hxx index aa5dc92a..5d41e21a 100644 --- a/Kernel/FirmwareKit/EPM.hxx +++ b/Kernel/FirmwareKit/EPM.hxx @@ -83,6 +83,10 @@ struct PACKED PartitionBlock #define kEPMMagicUEFI "EPMUE" +/* @brief CoreBoot magic for EPM */ + +#define kEPMMagicCoreBoot "EPMCB" + /* @brief Invalid magic for EPM */ #define kEPMMagicError "EPM??" @@ -113,16 +117,16 @@ typedef struct PartitionBlock PartitionBlockType; ///! @brief partition must start at this address. ///! Anything below is reserved for Data backup by the Main OS. -#define kEPMStartPartitionBlk (sizeof(BootBlock)) +#define kEPMStartPartitionBlk (sizeof(BootBlock)) ///! @brief Current EPM revision (2) -#define kEPMRevision (2) +#define kEPMRevision (3) ///! @brief Current EPM revision (2) -#define kEPMRevisionUEFI (0xF) +#define kEPMRevisionUEFI (0xF) /* @brief Maximum block count. */ -#define kEPMMaxBlks 128 +#define kEPMMaxBlks (128) /// END OF SPECS |
