summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/i386_module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/i386_module.c b/sys/boot/i386/libi386/i386_module.c
index a7f5d56..a640a41 100644
--- a/sys/boot/i386/libi386/i386_module.c
+++ b/sys/boot/i386/libi386/i386_module.c
@@ -50,6 +50,9 @@ i386_autoload(void)
/* XXX use PnP to locate stuff here */
/* autoload ACPI support */
+ if (file_findfile(NULL, "elf64 kernel") != NULL)
+ return (0); /* ACPI is mandatory */
+
/* XXX should be in 4th keyed off acpi_load */
disabled = 0;
rv = getenv("hint.acpi.0.disabled");
OpenPOWER on IntegriCloud