:: commit 101d04493db4630c67d31ff762ece93a596b529c

mintsuki <mintsuki@protonmail.com> — 2023-12-06 23:13

parents: 302d57e47d

limine: Gate EFI memory map feature out of BIOS port

diff --git a/common/protos/limine.c b/common/protos/limine.c
index 37068804..06425c6b 100644
--- a/common/protos/limine.c
+++ b/common/protos/limine.c
@@ -974,6 +974,7 @@ FEAT_END
 #endif
 
     // EFI memory map
+#if defined (UEFI)
 FEAT_START
     struct limine_efi_memmap_request *efi_memmap_request = get_request(LIMINE_EFI_MEMMAP_REQUEST);
     if (efi_memmap_request == NULL) {
@@ -990,6 +991,7 @@ FEAT_START
 
     efi_memmap_request->response = reported_addr(efi_memmap_response);
 FEAT_END
+#endif
 
     // SMP
 FEAT_START
tab: 248 wrap: offon