diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-31 08:49:33 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-07-31 08:49:33 +0100 |
| commit | 18d33e155d2f56e59eb49dadbb30ab2f7ac3e852 (patch) | |
| tree | 4a24443d19e709627f38aead9cd1629c564734df | |
| parent | 2e0f715fd917e9953daa02e6310aa32f3d697251 (diff) | |
feat: fix magic number of BootNet module, and fix compile_flags.txt
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | compile_flags.txt | 3 | ||||
| -rw-r--r-- | lib/bootnet.h | 4 | ||||
| -rw-r--r-- | lib/cxx-abi.hpp (renamed from lib/cxx-abi.h) | 0 | ||||
| -rw-r--r-- | src/coreboot-cxx-abi.cc | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/compile_flags.txt b/compile_flags.txt index 4e3bed0..8a21070 100644 --- a/compile_flags.txt +++ b/compile_flags.txt @@ -1,3 +1,4 @@ -I./ --std=c17 +-std=c++20 -I./vendor/ +-xc++
\ No newline at end of file diff --git a/lib/bootnet.h b/lib/bootnet.h index cba847c..2176c04 100644 --- a/lib/bootnet.h +++ b/lib/bootnet.h @@ -8,7 +8,7 @@ #include <lib/boot.h> -#define BOOTNET_INET_MAGIC "NETB" +#define BOOTNET_INET_MAGIC "ONET" #define BOOTNET_INET_MAGIC_LEN (4) #define BOOTNET_NAME_LEN (256) @@ -26,7 +26,7 @@ typedef struct bootnet_inet_header { ascii_char_t m_patch_name[BOOTNET_NAME_LEN]; /// example: ColdChoco int32_t m_length; /// The patch's length. ascii_char_t m_target[BOOTNET_NAME_LEN]; /// The target file. - uint8_t m_implies_program; /// does it imply reprogramming? + uint8_t m_implies_rom; /// does it imply reprogramming? uint8_t m_preflight; /// Do we just check if this endpoint exists/is valid? uint8_t m_blob[]; } bootnet_inet_header; diff --git a/lib/cxx-abi.h b/lib/cxx-abi.hpp index 61225fc..61225fc 100644 --- a/lib/cxx-abi.h +++ b/lib/cxx-abi.hpp diff --git a/src/coreboot-cxx-abi.cc b/src/coreboot-cxx-abi.cc index 70d9e62..88b2a6a 100644 --- a/src/coreboot-cxx-abi.cc +++ b/src/coreboot-cxx-abi.cc @@ -4,7 +4,7 @@ ------------------------------------------- */ -#include <lib/cxx-abi.h> +#include <lib/cxx-abi.hpp> /// BUGS: 0 |
