diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-18 21:39:29 +0200 |
| commit | da70596895d8135e08f8caac6978117697b4c021 (patch) | |
| tree | 2516785b5434df8453687f05dc8dd877438901ab /dev/ZBA/Modules/BootScr | |
| parent | 005de79004c9d30e64bdee6e14e06f9d47d1f2ab (diff) | |
[REFACTOR]
Improved project structure.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA/Modules/BootScr')
| -rw-r--r-- | dev/ZBA/Modules/BootScr/.hgkeep | 0 | ||||
| -rw-r--r-- | dev/ZBA/Modules/BootScr/Module.cxx | 19 | ||||
| -rw-r--r-- | dev/ZBA/Modules/BootScr/compile_flags.txt | 8 |
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__ |
