summaryrefslogtreecommitdiffhomepage
path: root/dev/boot/modules/BootNet/Boot.S
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:17:08 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:17:08 +0100
commit9034d32c7b60dedbdbdb66f42d9b147cb2aa9a60 (patch)
treefda5dfa8ab557954c16ce052f867679ee3dc38f4 /dev/boot/modules/BootNet/Boot.S
parent4966ca284132e4e52a9bee6f582527aa7f784ef6 (diff)
bootz: rename NetBoot module to BootNet
Rename the NetBoot module to BootNet to avoid confusion with Apple's NetBoot and better reflect the module's role within BootZ. Updates include: - Renamed module directory: NetBoot/ → BootNet/ - Renamed files and headers: NetBoot.cc → BootNet.cc, etc. - Updated build output: netboot.sys → bootnet.sys - Replaced all references in build scripts, source includes, and user-visible strings - Fixed typo in SysChk.cc copyright This unifies naming across modules and reinforces BootZ's modular identity. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/boot/modules/BootNet/Boot.S')
-rw-r--r--dev/boot/modules/BootNet/Boot.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev/boot/modules/BootNet/Boot.S b/dev/boot/modules/BootNet/Boot.S
new file mode 100644
index 00000000..8ebfb352
--- /dev/null
+++ b/dev/boot/modules/BootNet/Boot.S
@@ -0,0 +1,22 @@
+;; /*
+;; * ========================================================
+;; *
+;; * BootZ
+;; * Copyright (C) 2024-2025, Amlal EL Mahrouss, all rights reserved.
+;; *
+;; * ========================================================
+;; */
+
+#ifdef __NE_AMD64__
+.code64
+.intel_syntax noprefix
+#endif
+
+#define kTypeDriver 101
+#define kArchAmd64 122
+#define kHandoverMagic 0xBADCC
+
+.section .ldr
+
+.quad kHandoverMagic
+.word kTypeDriver