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/NetBoot/Module.cxx | |
| parent | 005de79004c9d30e64bdee6e14e06f9d47d1f2ab (diff) | |
[REFACTOR]
Improved project structure.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZBA/Modules/NetBoot/Module.cxx')
| -rw-r--r-- | dev/ZBA/Modules/NetBoot/Module.cxx | 25 |
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; +} |
