NeKernel
dev
Loading...
Searching...
No Matches
NeBoot.h
Go to the documentation of this file.
1
/* ========================================
2
3
Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
4
5
======================================== */
6
7
#pragma once
8
9
#include <
NeKit/Config.h
>
10
11
namespace
Firmware::Detail::NeBoot
{
12
using namespace
Kernel
;
13
14
struct
NEBOOT_LINEAR_EXEC;
15
18
struct
ATTRIBUTE
(aligned(4)) NEBOOT_LINEAR_EXEC {
19
const
Char
fMagic
[2];
// magic number
20
const
Char
fName[10];
// operating system name
21
const
UInt32
fRevision;
// firmware revision
22
const
UInt32
fStartAddress;
// start address (master/slave(s) thread)
23
24
#ifdef NE_IS_EXTENDED_COREBOOT
25
UIntPtr
fMasterStructure;
// master structure for MP/PM and device tree and such. (ARM)
26
UIntPtr
fMasterStructureVersion;
// master structure version.
27
#endif
28
29
#ifdef NE_IS_MBCI_COREBOOT
30
UIntPtr
fMBCIStructure;
// MBCI structure for MBCI (ARM)
31
UIntPtr
fMBCIStructureVersion;
// MBCI structure version.
32
#endif
33
};
34
}
// namespace Firmware::Detail::NeBoot
fMagic
UInt32 fMagic
Definition
DiskSwap.h:0
Config.h
Firmware::Detail::NeBoot
Definition
NeBoot.h:11
Firmware::Detail::NeBoot::ATTRIBUTE
struct ATTRIBUTE(aligned(4)) NEBOOT_LINEAR_EXEC
Linear Executable Header.
Definition
NeBoot.h:18
Kernel
UPS inline definitions.
Definition
Device.h:12
Kernel::Char
char Char
Definition
Config.h:51
Kernel::UInt32
__UINT32_TYPE__ UInt32
Definition
Config.h:44
Kernel::UIntPtr
__UINTPTR_TYPE__ UIntPtr
Definition
Config.h:62
src
kernel
FirmwareKit
NeBoot
NeBoot.h
Generated by
1.15.0