diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
commit | 2dd254afa61a7c0cc5ae920b463d3d4266852804 (patch) | |
tree | 7adbebef3be24ba910fd83ee1ba09e1577ae21a8 /sys/arch/i386/conf/files.i386 | |
parent | 4d62e331dcde739b4067d712dd602c0927ce11b3 (diff) |
debranch SMP, have fun
Diffstat (limited to 'sys/arch/i386/conf/files.i386')
-rw-r--r-- | sys/arch/i386/conf/files.i386 | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/sys/arch/i386/conf/files.i386 b/sys/arch/i386/conf/files.i386 index 02b5d8ee2c5..a4cc18bd5e9 100644 --- a/sys/arch/i386/conf/files.i386 +++ b/sys/arch/i386/conf/files.i386 @@ -1,4 +1,4 @@ -# $OpenBSD: files.i386,v 1.122 2004/06/05 15:06:22 grange Exp $ +# $OpenBSD: files.i386,v 1.123 2004/06/13 21:49:15 niklas Exp $ # # new style config file for i386 architecture # @@ -44,6 +44,10 @@ file arch/i386/i386/dkcsum.c bios file lib/libz/adler32.c !ppp_deflate & !ipsec & !crypto file dev/cons.c file dev/cninit.c +file arch/i386/i386/mptramp.s multiprocessor +file arch/i386/i386/lock_machdep.c multiprocessor +file arch/i386/i386/ipifuncs.c multiprocessor +file arch/i386/i386/db_mp.c multiprocessor file arch/i386/i386/wscons_machdep.c wsdisplay major {vnd = 14} @@ -78,7 +82,7 @@ include "../../../dev/ata/files.ata" # System bus types # -define mainbus { } +define mainbus { apid = -1 } device mainbus: isabus, eisabus, pcibus, mainbus attach mainbus at root file arch/i386/i386/mainbus.c mainbus @@ -272,6 +276,28 @@ attach apm at bios file arch/i386/i386/apm.c apm needs-count file arch/i386/i386/apmcall.S apm +# Intel SMP specification 1.4 +define mpbios +file arch/i386/i386/mpbios.c mpbios needs-flag + +# CPUS +define cpu { apid = -1 } +device cpu +attach cpu at mainbus +file arch/i386/i386/cpu.c cpu + +# Common APIC support routines +file arch/i386/i386/apic.c ioapic | lapic + +# Local APIC (required for multiprocessor) +define lapic +file arch/i386/i386/lapic.c lapic needs-flag + +# I/O APICs +device ioapic: mpbios, lapic +attach ioapic at mainbus +file arch/i386/i386/ioapic.c ioapic needs-flag + device pcibios attach pcibios at bios file arch/i386/pci/pcibios.c pcibios needs-count |