summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA/Modules/NetBoot/Module.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZBA/Modules/NetBoot/Module.cxx')
-rw-r--r--dev/ZBA/Modules/NetBoot/Module.cxx25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev/ZBA/Modules/NetBoot/Module.cxx b/dev/ZBA/Modules/NetBoot/Module.cxx
new file mode 100644
index 00000000..9bc65eda
--- /dev/null
+++ b/dev/ZBA/Modules/NetBoot/Module.cxx
@@ -0,0 +1,25 @@
+/*
+ * ========================================================
+ *
+ * NetBoot
+ * Copyright ZKA Technologies., all rights reserved.
+ *
+ * ========================================================
+ */
+
+#include <BootKit/BootKit.hxx>
+#include <NetBoot/NetBoot.hxx>
+
+EXTERN EfiSystemTable* ST;
+
+EXTERN_C Int32 ModuleMain(Void)
+{
+ ST->ConOut->ClearScreen(ST->ConOut);
+
+ /// @todo
+ /// - Find a network drive called "\.\newoskrnl.dll" with fork 'For-NewOSLdr' in the network path. (NewFS formatted disk as well!)
+ /// - Download our image
+ /// - Boot from it.
+
+ return kEfiOk;
+}