[feat] Kernel jump

This commit is contained in:
2026-05-09 21:37:17 +08:00
Unverified
parent c7ad2648ad
commit 386708c54b
4 changed files with 24 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <efi.h>
#include <efilib.h>
extern "C" void kernel_main();
void kernel_main() {
// uefi_call_wrapper((void*)ST->ConOut->ClearScreen, 1, ST->ConOut);
uefi_call_wrapper((void*)ST->ConOut->SetCursorPosition, 3, ST->ConOut, 0, 5);
uefi_call_wrapper((void*)ST->ConOut->OutputString, 2, ST->ConOut, L"Kernel is running!\n");
while (1);
}