summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/files.amd64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-01-13 13:53:51 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-01-13 13:53:51 +0000
commitc8bbebfc17c8bb1c3bcfaa89aaa1f8f3586e061b (patch)
tree4c47917947e9c106b7c40996bbcf0ed6f261cdd9 /sys/arch/amd64/conf/files.amd64
parent9c7e0fea63c2ab02df4f18e020bf1813e4896cb3 (diff)
Turn mpbios into a real device, such that people can disable it on crappy
BIOSes. ok deraadt@ (for the amd64 bit, or the i386 bit, can't remember which)
Diffstat (limited to 'sys/arch/amd64/conf/files.amd64')
-rw-r--r--sys/arch/amd64/conf/files.amd6415
1 files changed, 8 insertions, 7 deletions
diff --git a/sys/arch/amd64/conf/files.amd64 b/sys/arch/amd64/conf/files.amd64
index d8345e69cc9..fd5516a0bd3 100644
--- a/sys/arch/amd64/conf/files.amd64
+++ b/sys/arch/amd64/conf/files.amd64
@@ -1,4 +1,4 @@
-# $OpenBSD: files.amd64,v 1.42 2008/12/21 18:49:46 kettenis Exp $
+# $OpenBSD: files.amd64,v 1.43 2009/01/13 13:53:50 kettenis Exp $
maxpartitions 16
maxusers 2 16 128
@@ -36,12 +36,6 @@ file arch/amd64/amd64/mp_setperf.c multiprocessor
file arch/amd64/amd64/apic.c ioapic | lapic
-#Intel SMP specification 1.4
-define mpbios
-file arch/amd64/amd64/mpbios.c mpbios needs-flag
-file arch/amd64/amd64/mpbios_intr_fixup.c mpbios & pci
-
-
file arch/amd64/amd64/consinit.c
file dev/cninit.c
@@ -82,6 +76,13 @@ device bios {}
attach bios at mainbus
file arch/amd64/amd64/bios.c bios needs-flag
+#Intel SMP specification 1.4
+define mpbios
+device mpbios
+attach mpbios at bios
+file arch/amd64/amd64/mpbios.c mpbios needs-flag
+file arch/amd64/amd64/mpbios_intr_fixup.c mpbios & pci
+
define cpu {[apid = -1]}
device cpu
attach cpu at mainbus