From: | Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx> |
Date: | Thu, 16 Jun 2005 14:12:49 -0700 (PDT) |
dillon 2005/06/16 14:12:49 PDT DragonFly src repository Modified files: sys/kern kern_intr.c subr_taskqueue.c sys/sys interrupt.h systm.h sys/amd64/amd64 genassym.c sys/bus/cam cam_xpt.c sys/bus/pci pci_compat.c pcivar.h sys/contrib/dev/oltr if_oltr.c sys/dev/atm/hea eni.c sys/dev/atm/hfa fore_load.c sys/dev/disk/sym sym_hipd.c sys/dev/netif/en_pci if_en_pci.c sys/dev/netif/fpa if_fpa.c sys/dev/raid/asr asr.c sys/dev/serial/cy cy.c cy_pci.c sys/dev/serial/rc rc.c sys/dev/serial/sio sio.c sys/dev/serial/stl stallion.c sys/dev/video/meteor meteor.c sys/i386/i386 autoconf.c exception.s genassym.c machdep.c nexus.c trap.c vm86bios.s vm_machdep.c sys/i386/include ipl.h thread.h sys/i386/isa apic_vector.s clock.c icu_vector.s intr_machdep.c intr_machdep.h ipl.s ipl_funcs.c npx.c sys/netgraph/tty ng_tty.c sys/opencrypto crypto.c Log: Remove all remaining SPL code. Replace the mtd_cpl field in the machine dependant thread structure and the CPL field in the interrupt stack frame with dummies (so structural sizes do not change, yet). Remove all interrupt handler SPL mask and mask pointer code. Remove all spl*() functions except for splz(). Note that doreti uses a temporary CPL mask internally to accumulate a bitmap of FAST interrupts which could not be executed due to not being able to get the BGL. This mask has no outside visibility. Note that gd_fpending and gd_ipending still exist to support critical section interrupt deferment. Revision Changes Path 1.22 +3 -13 src/sys/kern/kern_intr.c 1.7 +1 -1 src/sys/kern/subr_taskqueue.c 1.10 +2 -2 src/sys/sys/interrupt.h 1.31 +0 -57 src/sys/sys/systm.h 1.5 +0 -2 src/sys/amd64/amd64/genassym.c 1.25 +2 -2 src/sys/bus/cam/cam_xpt.c 1.9 +3 -12 src/sys/bus/pci/pci_compat.c 1.9 +2 -3 src/sys/bus/pci/pcivar.h 1.20 +2 -2 src/sys/contrib/dev/oltr/if_oltr.c 1.8 +1 -1 src/sys/dev/atm/hea/eni.c 1.12 +1 -1 src/sys/dev/atm/hfa/fore_load.c 1.15 +1 -1 src/sys/dev/disk/sym/sym_hipd.c 1.10 +1 -1 src/sys/dev/netif/en_pci/if_en_pci.c 1.10 +1 -1 src/sys/dev/netif/fpa/if_fpa.c 1.21 +0 -1 src/sys/dev/raid/asr/asr.c 1.17 +1 -1 src/sys/dev/serial/cy/cy.c 1.6 +2 -2 src/sys/dev/serial/cy/cy_pci.c 1.15 +1 -1 src/sys/dev/serial/rc/rc.c 1.28 +1 -1 src/sys/dev/serial/sio/sio.c 1.14 +1 -1 src/sys/dev/serial/stl/stallion.c 1.15 +1 -1 src/sys/dev/video/meteor/meteor.c 1.17 +0 -6 src/sys/i386/i386/autoconf.c 1.24 +2 -7 src/sys/i386/i386/exception.s 1.42 +0 -1 src/sys/i386/i386/genassym.c 1.74 +0 -1 src/sys/i386/i386/machdep.c 1.17 +2 -30 src/sys/i386/i386/nexus.c 1.57 +0 -11 src/sys/i386/i386/trap.c 1.13 +1 -1 src/sys/i386/i386/vm86bios.s 1.36 +1 -1 src/sys/i386/i386/vm_machdep.c 1.6 +1 -42 src/sys/i386/include/ipl.h 1.13 +1 -2 src/sys/i386/include/thread.h 1.19 +5 -42 src/sys/i386/isa/apic_vector.s 1.31 +4 -7 src/sys/i386/isa/clock.c 1.18 +4 -10 src/sys/i386/isa/icu_vector.s 1.31 +16 -128 src/sys/i386/isa/intr_machdep.c 1.15 +2 -6 src/sys/i386/isa/intr_machdep.h 1.18 +22 -38 src/sys/i386/isa/ipl.s 1.10 +0 -109 src/sys/i386/isa/ipl_funcs.c 1.24 +1 -1 src/sys/i386/isa/npx.c 1.11 +0 -14 src/sys/netgraph/tty/ng_tty.c 1.9 +1 -1 src/sys/opencrypto/crypto.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.21&r2=1.22&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_taskqueue.c.diff?r1=1.6&r2=1.7&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/interrupt.h.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/sys/systm.h.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/amd64/amd64/genassym.c.diff?r1=1.4&r2=1.5&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/cam/cam_xpt.c.diff?r1=1.24&r2=1.25&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/pci_compat.c.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/pcivar.h.diff?r1=1.8&r2=1.9&f=u http://www.dragonflybsd.org/cvsweb/src/sys/contrib/dev/oltr/if_oltr.c.diff?r1=1.19&r2=1.20&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/atm/hea/eni.c.diff?r1=1.7&r2=1.8&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/atm/hfa/fore_load.c.diff?r1=1.11&r2=1.12&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/sym/sym_hipd.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/en_pci/if_en_pci.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/fpa/if_fpa.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/raid/asr/asr.c.diff?r1=1.20&r2=1.21&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/cy/cy.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/cy/cy_pci.c.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/rc/rc.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/sio/sio.c.diff?r1=1.27&r2=1.28&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/serial/stl/stallion.c.diff?r1=1.13&r2=1.14&f=u http://www.dragonflybsd.org/cvsweb/src/sys/dev/video/meteor/meteor.c.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/autoconf.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/exception.s.diff?r1=1.23&r2=1.24&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/genassym.c.diff?r1=1.41&r2=1.42&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/machdep.c.diff?r1=1.73&r2=1.74&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/nexus.c.diff?r1=1.16&r2=1.17&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/trap.c.diff?r1=1.56&r2=1.57&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm86bios.s.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/vm_machdep.c.diff?r1=1.35&r2=1.36&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/ipl.h.diff?r1=1.5&r2=1.6&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/include/thread.h.diff?r1=1.12&r2=1.13&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/apic_vector.s.diff?r1=1.18&r2=1.19&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/clock.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/icu_vector.s.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.c.diff?r1=1.30&r2=1.31&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/intr_machdep.h.diff?r1=1.14&r2=1.15&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/ipl.s.diff?r1=1.17&r2=1.18&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/ipl_funcs.c.diff?r1=1.9&r2=1.10&f=u http://www.dragonflybsd.org/cvsweb/src/sys/i386/isa/npx.c.diff?r1=1.23&r2=1.24&f=u http://www.dragonflybsd.org/cvsweb/src/sys/netgraph/tty/ng_tty.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/opencrypto/crypto.c.diff?r1=1.8&r2=1.9&f=u