cvs commit: src/sys/bus/iicbus iicbb_if.m iicbus_if.m src/sys/bus/isa isa_if.m src/sys/bus/isa/i386 isa_compat.c src/sys/bus/pci pci.c pci_if.m src/sys/bus/smbus smbus_if.m src/sys/conf Makefile.i386 kmod.mk src/sys/dev/misc/dec ...
Jeroen Ruigrok/asmodai
asmodai at crater.dragonflybsd.org
Sun Nov 16 16:55:09 PST 2003
asmodai 2003/11/16 16:54:40 PST
DragonFly src repository
Modified files:
sys/bus/iicbus iicbb_if.m iicbus_if.m
sys/bus/isa isa_if.m
sys/bus/isa/i386 isa_compat.c
sys/bus/pci pci.c pci_if.m
sys/bus/smbus smbus_if.m
sys/conf Makefile.i386 kmod.mk
sys/dev/misc/dec mcclock_if.m
sys/dev/netif/mii_layer miibus_if.m
sys/kern bus_if.m device_if.m subr_bus.c
sys/sys bus.h bus_private.h
Log:
Factor out the object system from new-bus so that it can be used by
non-device code.
Re-implement the method dispatch to improve efficiency. The new system
takes about 40ns for a method dispatch on a 300Mhz PII which is only 10ns
slower than a direct function call on the same hardware.
This is all based on Doug Rabson's work in April and May of 2000.
Revision Changes Path
1.3 +3 -1 src/sys/bus/iicbus/iicbb_if.m
1.3 +3 -1 src/sys/bus/iicbus/iicbus_if.m
1.4 +1 -2 src/sys/bus/isa/isa_if.m
1.4 +1 -1 src/sys/bus/isa/i386/isa_compat.c
1.6 +1 -1 src/sys/bus/pci/pci.c
1.3 +3 -1 src/sys/bus/pci/pci_if.m
1.3 +3 -1 src/sys/bus/smbus/smbus_if.m
1.11 +2 -2 src/sys/conf/Makefile.i386
1.8 +2 -2 src/sys/conf/kmod.mk
1.3 +3 -1 src/sys/dev/misc/dec/mcclock_if.m
1.3 +3 -1 src/sys/dev/netif/mii_layer/miibus_if.m
1.3 +3 -1 src/sys/kern/bus_if.m
1.3 +3 -1 src/sys/kern/device_if.m
1.5 +31 -213 src/sys/kern/subr_bus.c
1.3 +5 -15 src/sys/sys/bus.h
1.3 +7 -27 src/sys/sys/bus_private.h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/iicbus/iicbb_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/iicbus/iicbus_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/isa/isa_if.m.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/isa/i386/isa_compat.c.diff?r1=1.3&r2=1.4&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/pci.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/pci/pci_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/bus/smbus/smbus_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/conf/Makefile.i386.diff?r1=1.10&r2=1.11&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/conf/kmod.mk.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/misc/dec/mcclock_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/mii_layer/miibus_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/bus_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/device_if.m.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/subr_bus.c.diff?r1=1.4&r2=1.5&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/bus.h.diff?r1=1.2&r2=1.3&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/bus_private.h.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list