summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-07-31 08:49:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-07-31 08:49:33 +0100
commit18d33e155d2f56e59eb49dadbb30ab2f7ac3e852 (patch)
tree4a24443d19e709627f38aead9cd1629c564734df /lib
parent2e0f715fd917e9953daa02e6310aa32f3d697251 (diff)
feat: fix magic number of BootNet module, and fix compile_flags.txt
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/bootnet.h4
-rw-r--r--lib/cxx-abi.hpp (renamed from lib/cxx-abi.h)0
2 files changed, 2 insertions, 2 deletions
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