diff options
Diffstat (limited to 'dev/BootLoader/Modules/SysChk/Module.cc')
| -rw-r--r-- | dev/BootLoader/Modules/SysChk/Module.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev/BootLoader/Modules/SysChk/Module.cc b/dev/BootLoader/Modules/SysChk/Module.cc new file mode 100644 index 00000000..2ae5023e --- /dev/null +++ b/dev/BootLoader/Modules/SysChk/Module.cc @@ -0,0 +1,22 @@ +/* + * ======================================================== + * + * NetBoot + * Copyright (C) 2024, TQ B.V, all rights reserved., all rights reserved. + * + * ======================================================== + */ + +#include <BootKit/BootKit.h> + +EXTERN_C Int32 ModuleMain(Kernel::HEL::BootInfoHeader* Handover) +{ + EfiSystemTable* system_table = (EfiSystemTable*)Handover->f_FirmwareCustomTables[1]; + + system_table->ConOut->ClearScreen(system_table->ConOut); + + system_table->ConOut->OutputString(system_table->ConOut, L"SYSCHK: CHECKING FOR VALID NEFS OR HPFS PARTITIONS...\r\n"); + system_table->ConOut->OutputString(system_table->ConOut, L"SYSCHK: GOOD TO GO!\r\n"); + + return kEfiOk; +} |
