Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/conf MP: Several new files.



details:   https://anonhg.NetBSD.org/src/rev/59f01cb6686b
branches:  sommerfeld_i386mp_1
changeset: 482181:59f01cb6686b
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Sun Feb 20 18:35:38 2000 +0000

description:
MP: Several new files.

diffstat:

 sys/arch/i386/conf/files.i386 |  33 +++++++++++++++++++++++++++++++--
 1 files changed, 31 insertions(+), 2 deletions(-)

diffs (68 lines):

diff -r 1c2e59a38e7b -r 59f01cb6686b sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Sun Feb 20 18:33:38 2000 +0000
+++ b/sys/arch/i386/conf/files.i386     Sun Feb 20 18:35:38 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.147 2000/02/14 21:42:52 thorpej Exp $
+#      $NetBSD: files.i386,v 1.147.2.1 2000/02/20 18:35:38 sommerfeld Exp $
 #
 # new style config file for i386 architecture
 #
@@ -37,6 +37,8 @@
 # understand boot device passed by pre-1.3 bootblocks
 defopt COMPAT_OLDBOOT
 
+defopt opt_mpbios.h MPVERBOSE MPDEBUG
+
 # PCI BIOS options
 defopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE PCIBIOS_INTR_FIXUP
        PCIINTR_DEBUG PCIBIOS_BUS_FIXUP
@@ -67,6 +69,10 @@
 file   arch/i386/i386/vm_machdep.c
 file   dev/cons.c
 
+file   arch/i386/i386/mptramp.s        multiprocessor
+file   arch/i386/i386/lock_machdep.c   multiprocessor
+file    arch/i386/i386/ipifuncs.c       multiprocessor
+
 #
 # Machine-independent SCSI drivers
 #
@@ -99,7 +105,7 @@
 # System bus types
 #
 
-define mainbus { }
+define mainbus { apid = -1 }
 # XXX BIOS32 only if something that uses it is configured!
 device mainbus: isabus, eisabus, pcibus, mainbus, bios32
 attach mainbus at root
@@ -263,6 +269,29 @@
 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: bioscall, mpbios, lapic
+attach ioapic at mainbus
+file   arch/i386/i386/ioapic.c         ioapic needs-flag
+
 #
 # Compatibility modules
 #



Home | Main Index | Thread Index | Old Index