summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-04-30 22:02:39 +0000
committerpeter <peter@FreeBSD.org>2003-04-30 22:02:39 +0000
commit47e12d9503a5bdb95811dc7295bf5f8f3bb94155 (patch)
tree8c39e1b104c04189fe26ed299bba07db47a6d1bc /sys/boot
parenta2b7260f7d58670581d01616b5054f809cc9ff92 (diff)
downloadFreeBSD-src-47e12d9503a5bdb95811dc7295bf5f8f3bb94155.zip
FreeBSD-src-47e12d9503a5bdb95811dc7295bf5f8f3bb94155.tar.gz
ACPI will always be present on AMD64 - it will never be an autodetect
module.
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