Make EFI port primary
This commit is contained in:
12
core/src/efi.c
Normal file
12
core/src/efi.c
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user