We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 275f7d7 commit 80661e2Copy full SHA for 80661e2
2 files changed
stand/efi/loader/bootinfo.c
@@ -67,7 +67,7 @@
67
static int
68
bi_getboothowto(char *kargs)
69
{
70
-#ifdef EFI
+#if defined(EFI) && (defined(__i386__) || defined(__amd64__))
71
const char *tmp;
72
int speed, port;
73
char buf[50];
stand/efi/loader/copy.c
@@ -405,7 +405,9 @@ efi_check_space(vm_offset_t end)
405
return (true);
406
}
407
408
+#if defined(__amd64__) || defined(__i386__)
409
before_staging:
410
+#endif
411
/* Try allocating space before the previous allocation */
412
if (staging < nr_pages * EFI_PAGE_SIZE)
413
goto expand;
0 commit comments