summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-02 08:14:36 +0200
committerGitHub <noreply@github.com>2025-04-02 08:14:36 +0200
commit5129ac16ddd5fb8362eb2fbd123e28d2b3e4c90f (patch)
tree2fde230004e377f734983484f8e12fb0414a1668 /dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h
parent25dd194903b3ccfe4461fe189a04d902da93ac8f (diff)
parent6c7e5ebc003a0bc4f98c23a8f9754b273a6e3a28 (diff)
Merge pull request #7 from amlel-el-mahrouss/dev
boot/net: rename Boot.S files, clarify EEPROM implication, and prep UDP read
Diffstat (limited to 'dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h')
-rw-r--r--dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h b/dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h
index 80d3307b..d2711025 100644
--- a/dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h
+++ b/dev/kernel/FirmwareKit/CoreBoot/CoreBoot.h
@@ -12,11 +12,11 @@ namespace Firmware::Detail::CoreBoot
{
using namespace Kernel;
- struct LEHeader;
+ struct COREBOOT_LINEAR_EXEC;
/// @brief Linear Executable Header
/// @author Amlal El Mahrouss
- struct ATTRIBUTE(aligned(4)) LEHeader
+ struct ATTRIBUTE(aligned(4)) COREBOOT_LINEAR_EXEC
{
const Char fMagic[2]; // magic number
const Char fName[10]; // operating system name
@@ -24,8 +24,13 @@ namespace Firmware::Detail::CoreBoot
const UInt32 fStartAddress; // start address (master/slave(s) thread)
#ifdef NE_IS_EXTENDED_COREBOOT
- const UIntPtr fMasterStructure; // master structure for MP/PM and device tree and such (ARM)
+ const UIntPtr fMasterStructure; // master structure for MP/PM and device tree and such. (ARM)
const UIntPtr fMasterStructureVersion; // master structure version.
#endif
+
+#ifdef NE_IS_MBCI_COREBOOT
+ const UIntPtr fMBCIStructure; // MBCI structure for MBCI (ARM)
+ const UIntPtr fMBCIStructureVersion; // MBCI structure version.
+#endif
};
} // namespace Firmware::Detail::CoreBoot