summaryrefslogtreecommitdiffhomepage
path: root/Boot/Modules/BootScr
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-14 17:10:37 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-08-14 17:10:37 +0200
commit69d31491b5d671ed4b4c041e10b05c20d543bd9e (patch)
tree85f66a33a03717c07c8cb1d1a54d2f68b10a0baf /Boot/Modules/BootScr
parent682763126fe9e293b9db75369fe01e228168561b (diff)
[META] BUMP.
Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Boot/Modules/BootScr')
-rw-r--r--Boot/Modules/BootScr/.hgkeep0
-rw-r--r--Boot/Modules/BootScr/Module.cxx19
-rw-r--r--Boot/Modules/BootScr/compile_flags.txt8
3 files changed, 27 insertions, 0 deletions
diff --git a/Boot/Modules/BootScr/.hgkeep b/Boot/Modules/BootScr/.hgkeep
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/Boot/Modules/BootScr/.hgkeep
diff --git a/Boot/Modules/BootScr/Module.cxx b/Boot/Modules/BootScr/Module.cxx
new file mode 100644
index 00000000..11bbb6c0
--- /dev/null
+++ b/Boot/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/Boot/Modules/BootScr/compile_flags.txt b/Boot/Modules/BootScr/compile_flags.txt
new file mode 100644
index 00000000..f9ca281f
--- /dev/null
+++ b/Boot/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__