mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-04 14:11:58 +03:00
entry/uefi: Only perform 4GiB check if on x86_64
This commit is contained in:
parent
ed0c32f20a
commit
94eb0e2ae2
@ -51,9 +51,11 @@ noreturn void uefi_entry(EFI_HANDLE ImageHandle, EFI_SYSTEM_TABLE *SystemTable)
|
||||
init_gdt();
|
||||
#endif
|
||||
|
||||
#if defined (__x86_64__)
|
||||
if ((uintptr_t)__image_base > 0x100000000) {
|
||||
panic(false, "Limine does not support being loaded above 4GiB");
|
||||
}
|
||||
#endif
|
||||
|
||||
disk_create_index();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user