diff options
Diffstat (limited to 'dev/ZKAKit/FirmwareKit/CoreBoot')
| -rw-r--r-- | dev/ZKAKit/FirmwareKit/CoreBoot/CoreBoot.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev/ZKAKit/FirmwareKit/CoreBoot/CoreBoot.h b/dev/ZKAKit/FirmwareKit/CoreBoot/CoreBoot.h new file mode 100644 index 00000000..b3f5a8b1 --- /dev/null +++ b/dev/ZKAKit/FirmwareKit/CoreBoot/CoreBoot.h @@ -0,0 +1,27 @@ +/* ------------------------------------------- + + Copyright (C) 2024, EL Mahrouss Logic, all rights reserved. + +------------------------------------------- */ + +#pragma once + +#include <NewKit/Defines.h> + +namespace Kernel +{ + /// @brief Linear Executable Header + /// @author EL Mahrouss Logic + struct ATTRIBUTE(aligned(4)) mp_boot_header + { + const Char fMagic[2]; // magic number + const Char fName[10]; // operating system name + const UInt32 fRevision; // firmware revision + const UInt32 fStartAddress; // start address (master/slave(s) thread) + +#ifdef ZKA_IS_EXTENDED_COREBOOT + const UIntPtr fMasterStructure; // master structure for MP/PM and device tree and such (ARM) + const UIntPtr fMasterStructureVersion; // master structure version. +#endif + }; +} // namespace Kernel
\ No newline at end of file |
