diff options
Diffstat (limited to 'src/boot/modules/BootNet')
| -rw-r--r-- | src/boot/modules/BootNet/.hgkeep | 0 | ||||
| -rw-r--r-- | src/boot/modules/BootNet/README.md | 5 | ||||
| -rw-r--r-- | src/boot/modules/BootNet/arm64.json | 35 |
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" + ] +} |
