summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-04-29 18:50:34 +0000
committernjl <njl@FreeBSD.org>2003-04-29 18:50:34 +0000
commit32b2682952c56d1802d387c87c361a5b0e28ae05 (patch)
tree65beb1553eb37160f7d2c71eddc0083cb96d1c32 /sys/boot
parentac2712d2c827e8b00cf0d1ec14e773ee4ff49eee (diff)
downloadFreeBSD-src-32b2682952c56d1802d387c87c361a5b0e28ae05.zip
FreeBSD-src-32b2682952c56d1802d387c87c361a5b0e28ae05.tar.gz
Support functions for the new ACPI import.
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the acpi parse tree. * AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to override the value for _OS. Ideas from: takawata, jhb Reviewed by: takawata, marcel Tested on: i386, ia64
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/biosacpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/biosacpi.c b/sys/boot/i386/libi386/biosacpi.c
index f10b006..90217c5 100644
--- a/sys/boot/i386/libi386/biosacpi.c
+++ b/sys/boot/i386/libi386/biosacpi.c
@@ -31,6 +31,7 @@
#include <bootstrap.h>
#include "acfreebsd.h"
+#define ACPI_SYSTEM_XFACE
#include "actypes.h"
#include "actbl.h"
OpenPOWER on IntegriCloud