summaryrefslogtreecommitdiffhomepage
path: root/dev/ZBA/Modules/BootScr
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ZBA/Modules/BootScr')
-rw-r--r--dev/ZBA/Modules/BootScr/.hgkeep0
-rw-r--r--dev/ZBA/Modules/BootScr/Module.cxx19
-rw-r--r--dev/ZBA/Modules/BootScr/compile_flags.txt8
3 files changed, 27 insertions, 0 deletions
diff --git a/dev/ZBA/Modules/BootScr/.hgkeep b/dev/ZBA/Modules/BootScr/.hgkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/dev/ZBA/Modules/BootScr/.hgkeep
diff --git a/dev/ZBA/Modules/BootScr/Module.cxx b/dev/ZBA/Modules/BootScr/Module.cxx
new file mode 100644
index 00000000..11bbb6c0
--- /dev/null
+++ b/dev/ZBA/Modules/BootScr/Module.cxx
@@ -0,0 +1,19 @@
+/*
+ * ========================================================
+ *
+ * NetBoot
+ * Copyright ZKA Technologies., all rights reserved.
+ *
+ * ========================================================
+ */
+
+#include <BootKit/BootKit.hxx>
+
+EXTERN EfiSystemTable* ST;
+
+EXTERN_C Int32 ModuleMain(Void)
+{
+ ST->ConOut->ClearScreen(ST->ConOut);
+
+ return kEfiOk;
+}
diff --git a/dev/ZBA/Modules/BootScr/compile_flags.txt b/dev/ZBA/Modules/BootScr/compile_flags.txt
new file mode 100644
index 00000000..f9ca281f
--- /dev/null
+++ b/dev/ZBA/Modules/BootScr/compile_flags.txt
@@ -0,0 +1,8 @@
+-std=c++20
+-I../
+-I../../
+-I../../Kernel
+-D__NEWOS_AMD64__
+-std=c++20
+-D__x86_64__
+-D__NEWOS_OTA__