]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
* Factor out the object system from new-bus so that it can be used by
authordfr <dfr@FreeBSD.org>
Sat, 8 Apr 2000 14:17:18 +0000 (14:17 +0000)
committerdfr <dfr@FreeBSD.org>
Sat, 8 Apr 2000 14:17:18 +0000 (14:17 +0000)
commitc9bf4be3c29d14ce9b4af20459517870eed8bce9
treeb0ea9aab688814aec913835039451900941b1619
parent2d18287eb4e48e437d5e7a756df6f20a59c7e176
* 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 changes the new-bus ABI slightly so make sure you re-compile any
driver modules which you use.
26 files changed:
sys/alpha/alpha/clock_if.m
sys/conf/Makefile.alpha
sys/conf/Makefile.i386
sys/conf/Makefile.powerpc
sys/conf/files
sys/dev/dec/mcclock_if.m
sys/dev/iicbus/iicbb_if.m
sys/dev/iicbus/iicbus_if.m
sys/dev/mii/miibus_if.m
sys/dev/pci/pci.c
sys/dev/pci/pci_if.m
sys/dev/ppbus/ppbus_if.m
sys/dev/smbus/smbus_if.m
sys/dev/usb/usb_if.m
sys/i386/isa/isa_compat.c
sys/isa/isa_if.m
sys/kern/bus_if.m
sys/kern/device_if.m
sys/kern/makeobjops.pl [new file with mode: 0644]
sys/kern/subr_bus.c
sys/kern/subr_kobj.c [new file with mode: 0644]
sys/pci/pci.c
sys/pci/pci_if.m
sys/sys/bus.h
sys/sys/bus_private.h
sys/sys/kobj.h [new file with mode: 0644]