Make EFI port primary

This commit is contained in:
2025-11-29 20:00:51 +01:00
parent e2184bdc27
commit c222cae16f
104 changed files with 3 additions and 5187 deletions

12
core/src/efi.c Normal file
View File

@@ -0,0 +1,12 @@
#include "efi.h"
#include "main.h"
extern EFI_BOOT_SERVICES *gBS;
EFI_STATUS EFIAPI efi_main(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable) {
gBS = SystemTable->BootServices;
// Initialize standard library (if needed)
// ...
return kernel_main(SystemTable);
}