summaryrefslogtreecommitdiff
path: root/sys/kern/subr_kobj.c
Commit message (Collapse)AuthorAgeFilesLines
* Convert hit and miss counters to unsigned values. Surely negative valuesKelly Yancey2002-06-101-4/+4
| | | | | | | | | for either does not make sense. PR: (one small part of) 19720 Notes: svn path=/head/; revision=98105
* Convert more malloc+bzero to malloc+M_ZERO.David Malone2000-12-081-2/+1
| | | | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Notes: svn path=/head/; revision=69781
* Add kobj_class_compile_static() to allow classes to be initialisedDoug Rabson2000-08-281-7/+27
| | | | | | | | statically (i.e. without calling malloc). This allows kobj to be used very early in the boot sequence. Notes: svn path=/head/; revision=65173
* * Move the driver_t::refs field to kobj_t to replace kobj_t::instances.Doug Rabson2000-05-011-3/+3
| | | | | | | | * Back out a couple of workarounds for the confusion between kobj_t::instances and driver_t::refs. Notes: svn path=/head/; revision=59820
* * Factor out the object system from new-bus so that it can be used byDoug Rabson2000-04-081-0/+197
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. Notes: svn path=/head/; revision=59093