summaryrefslogtreecommitdiffhomepage
path: root/src/boot/modules/BootNet
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-11 05:54:48 +0100
committerGitHub <noreply@github.com>2026-03-11 05:54:48 +0100
commit7e35509e3387691f23b54883ca7e4e303bad9c4f (patch)
treeb8c86fefc71b9d4c400429a3c1e723beeae6f766 /src/boot/modules/BootNet
parent7cee4def2634d3c4aed59c3ab66b65bbbf1ec751 (diff)
parent342e27527797d5dd6f0ba3baa23c0bbc786892e1 (diff)
Merge pull request #137 from ne-foss-org/kernel-bootkit-posix-additions
[CHORE] ARM64 port improvements, POSIXKit additions, and SysChk/BootNet improvements.
Diffstat (limited to 'src/boot/modules/BootNet')
-rw-r--r--src/boot/modules/BootNet/.hgkeep0
-rw-r--r--src/boot/modules/BootNet/README.md5
-rw-r--r--src/boot/modules/BootNet/arm64.json35
3 files changed, 40 insertions, 0 deletions
diff --git a/src/boot/modules/BootNet/.hgkeep b/src/boot/modules/BootNet/.hgkeep
deleted file mode 100644
index e69de29b..00000000
--- a/src/boot/modules/BootNet/.hgkeep
+++ /dev/null
diff --git a/src/boot/modules/BootNet/README.md b/src/boot/modules/BootNet/README.md
new file mode 100644
index 00000000..9c013d6f
--- /dev/null
+++ b/src/boot/modules/BootNet/README.md
@@ -0,0 +1,5 @@
+# BootNet
+
+This module network boots a copy of `ne_kernel` via its NetBoot protocol.
+
+This is for EFI modules only, as the NeBoot firmware already supports it.
diff --git a/src/boot/modules/BootNet/arm64.json b/src/boot/modules/BootNet/arm64.json
new file mode 100644
index 00000000..f939083e
--- /dev/null
+++ b/src/boot/modules/BootNet/arm64.json
@@ -0,0 +1,35 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": [
+ "../",
+ "../../",
+ "../../../kernel",
+ "../../../",
+ "./"
+ ],
+ "sources_path": [
+ "*.cpp",
+ "*.S",
+ "../../src/HEL/ARM64/*.cpp",
+ "../../src/HEL/ARM64/*.S",
+ "../../src/*.cpp"
+ ],
+ "output_name": "net.efi",
+ "compiler_flags": [
+ "-nostdlib",
+ "-std=c++20",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17,--image-base,0x10000000,-e,BootNetModuleMain"
+ ],
+ "cpp_macros": [
+ "__BOOTZ__",
+ "__BOOTZ_STANDALONE__",
+ "__NE_ARM64__",
+ "__nekernel_max_cores=8 ",
+ "kBootNetVersionHighest=0x0100",
+ "kBootNetVersionLowest=0x0100",
+ "kBootNetEFIVersion=0x0100"
+ ]
+}