summaryrefslogtreecommitdiffhomepage
path: root/Boot/NetBoot
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-07-14 00:37:06 +0200
committerAmlal <amlal@zka.com>2024-07-14 00:37:06 +0200
commitb038c3eff8c80be2e6e10bea16634523fff4a6b5 (patch)
treed4c9b5c1931d6e5029243446b66e8edb608072b8 /Boot/NetBoot
parent062ba0a060929c18a2734835cd426e3d808093b7 (diff)
[IMP]
- IsUndefined returns const bool& now. - Replace kUndefined with kNull now. - Remove ML_ from macros in newstd.hxx. - Rename NSyscall to NSyscallInterface, which is a ref counted class now. - Rename MBCIType to PowerID - Update ToDos. - Update NewFS root catalog name. - Fix JSON 'null' initialization. - Add Json to variant object. - Replace kPointer with kBlob in variant kinds. - Add Leak() method to variant. Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'Boot/NetBoot')
-rw-r--r--Boot/NetBoot/.hgkeep0
-rw-r--r--Boot/NetBoot/Module.cxx20
-rw-r--r--Boot/NetBoot/NetBoot.hxx26
-rw-r--r--Boot/NetBoot/compile_flags.txt8
-rw-r--r--Boot/NetBoot/manifest.json4
5 files changed, 0 insertions, 58 deletions
diff --git a/Boot/NetBoot/.hgkeep b/Boot/NetBoot/.hgkeep
deleted file mode 100644
index e69de29b..00000000
--- a/Boot/NetBoot/.hgkeep
+++ /dev/null
diff --git a/Boot/NetBoot/Module.cxx b/Boot/NetBoot/Module.cxx
deleted file mode 100644
index 3bc71d0e..00000000
--- a/Boot/NetBoot/Module.cxx
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * ========================================================
- *
- * NetBoot
- * Copyright ZKA Technologies, all rights reserved.
- *
- * ========================================================
- */
-
-#include <BootKit/BootKit.hxx>
-#include <NetBoot/NetBoot.hxx>
-
-EXTERN_C Int32 ModuleMain(Void)
-{
- /// - Find a network drive called "/Remote/newoskrnl"
- /// - Download our image
- /// - Boot from it.
-
- return kEfiOk;
-}
diff --git a/Boot/NetBoot/NetBoot.hxx b/Boot/NetBoot/NetBoot.hxx
deleted file mode 100644
index 1a474501..00000000
--- a/Boot/NetBoot/NetBoot.hxx
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * ========================================================
- *
- * NetBoot
- * Copyright ZKA Technologies, all rights reserved.
- *
- * ========================================================
- */
-
-#pragma once
-
-#include <NewKit/Defines.hpp>
-
-/// @brief the internet header is used to download updates OTA.
-typedef struct NetBootInternetHeader
-{
- Kernel::Char NB1; /// magic char 1 'N'
- Kernel::Char NB2; /// magic char 2 'E'
- Kernel::Char NB3; /// magic char 3 'T'
- Kernel::Char NB4; /// magic char 4 'B'
-
- Kernel::Char PatchName[255]; /// example: ColdChoco
- Kernel::Int32 PatchLength; /// the patch length.
- Kernel::Char PatchTarget[255]; /// the target file.
- Kernel::Boolean ImpliesROM; /// does it imply an EEPROM reprogram?
-} NetBootInternetHeader;
diff --git a/Boot/NetBoot/compile_flags.txt b/Boot/NetBoot/compile_flags.txt
deleted file mode 100644
index f9ca281f..00000000
--- a/Boot/NetBoot/compile_flags.txt
+++ /dev/null
@@ -1,8 +0,0 @@
--std=c++20
--I../
--I../../
--I../../Kernel
--D__NEWOS_AMD64__
--std=c++20
--D__x86_64__
--D__NEWOS_OTA__
diff --git a/Boot/NetBoot/manifest.json b/Boot/NetBoot/manifest.json
deleted file mode 100644
index 825677f7..00000000
--- a/Boot/NetBoot/manifest.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "pluginName": "iBoot",
- "description": "Boot your device from your network infrastructure."
-}