Synchronize a bunch of things from FreeBSD-5 in preparation for the new
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 06:37:08 +0000 (06:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 06:37:08 +0000 (06:37 +0000)
commite126caf11a991b0259cfd9d12ebfced467a60f52
treec303b9baf3b01290906f2d0823f5b91a6eb264a1
parent4b7bcb6b7087c9ac3f48eb792860c8636458844a
Synchronize a bunch of things from FreeBSD-5 in preparation for the new
ACPICA driver support.

* Bring in a lot of new bus and pci DEV_METHODs from FreeBSD-5
* split apic.h into apicreg.h and apicio.h
* rename INTR_TYPE_FAST -> INTR_FAST and move the #define
* rename INTR_TYPE_EXCL -> INTR_EXCL and move the #define
* rename some PCIR_ registers and add additional macros from FreeBSD-5
* note: new pcib bus call, host_pcib_get_busno() imported.
* kern/subr_power.c no longer optional.

Other changes:

* machine/smp.h machine smp/smptests.h can now be #included unconditionally,
  and some APIC_IO vs SMP separation has been done as well.
* gd_acpi_id and gd_apic_id added to machine/globaldata.h prep for new
  ACPI code.

Despite all the changes, the generated code should be virtually the same.
These were mostly additions which the pre-existing code does not (yet) use.
77 files changed:
sys/amd64/amd64/genassym.c
sys/boot/i386/libi386/Makefile
sys/boot/pc32/libi386/Makefile
sys/bus/isa/i386/isa_compat.h
sys/bus/isa/isavar.h
sys/bus/mca/mca_bus.c
sys/bus/pci/i386/pcibus.c
sys/bus/pci/pci.c
sys/bus/pci/pci_compat.c
sys/bus/pci/pci_if.m
sys/bus/pci/pci_private.h
sys/bus/pci/pcireg.h
sys/bus/pci/pcisupport.c
sys/conf/files
sys/conf/files.i386
sys/cpu/i386/misc/in_cksum2.s
sys/dev/acpica/Osd/OsdHardware.c
sys/dev/misc/puc/puc.c
sys/dev/pccard/cardbus/cardbus.c
sys/dev/raid/aac/aac_pci.c
sys/dev/raid/amr/amr_compat.h
sys/dev/raid/mlx/mlx_compat.h
sys/dev/raid/twe/twe_compat.h
sys/dev/serial/sio/sio.c
sys/i386/apic/apic_vector.s
sys/i386/apic/apicreg.h [moved from sys/i386/include/apic.h with 99% similarity]
sys/i386/apic/apicvar.h [new file with mode: 0644]
sys/i386/apic/mpapic.h
sys/i386/i386/db_interface.c
sys/i386/i386/exception.s
sys/i386/i386/genassym.c
sys/i386/i386/in_cksum2.s
sys/i386/i386/mp_machdep.c
sys/i386/i386/mpboot.s
sys/i386/i386/mplock.s
sys/i386/i386/nexus.c
sys/i386/i386/pmap.c
sys/i386/i386/pmap_inval.c
sys/i386/i386/swtch.s
sys/i386/include/apicreg.h [copied from sys/platform/pc32/include/apic.h with 99% similarity]
sys/i386/include/apicvar.h [new file with mode: 0644]
sys/i386/include/globaldata.h
sys/i386/include/mpapic.h
sys/i386/include/smp.h
sys/i386/include/smptests.h
sys/i386/isa/apic_vector.s
sys/i386/isa/clock.c
sys/i386/isa/intr_machdep.c
sys/i386/isa/intr_machdep.h
sys/kern/bus_if.m
sys/kern/subr_bus.c
sys/platform/pc32/apic/apic_vector.s
sys/platform/pc32/apic/apicreg.h [copied from sys/platform/pc32/include/apic.h with 99% similarity]
sys/platform/pc32/apic/apicvar.h [new file with mode: 0644]
sys/platform/pc32/apic/mpapic.h
sys/platform/pc32/i386/db_interface.c
sys/platform/pc32/i386/exception.s
sys/platform/pc32/i386/genassym.c
sys/platform/pc32/i386/mp_machdep.c
sys/platform/pc32/i386/mpboot.s
sys/platform/pc32/i386/mplock.s
sys/platform/pc32/i386/nexus.c
sys/platform/pc32/i386/pmap.c
sys/platform/pc32/i386/pmap_inval.c
sys/platform/pc32/i386/swtch.s
sys/platform/pc32/include/apicreg.h [moved from sys/platform/pc32/include/apic.h with 99% similarity]
sys/platform/pc32/include/apicvar.h [new file with mode: 0644]
sys/platform/pc32/include/globaldata.h
sys/platform/pc32/include/mpapic.h
sys/platform/pc32/include/smp.h
sys/platform/pc32/include/smptests.h
sys/platform/pc32/isa/apic_vector.s
sys/platform/pc32/isa/clock.c
sys/platform/pc32/isa/intr_machdep.c
sys/platform/pc32/isa/intr_machdep.h
sys/platform/vkernel/i386/genassym.c
sys/sys/bus.h