From c9bf4be3c29d14ce9b4af20459517870eed8bce9 Mon Sep 17 00:00:00 2001 From: dfr Date: Sat, 8 Apr 2000 14:17:18 +0000 Subject: * 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. --- sys/dev/dec/mcclock_if.m | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/dec/mcclock_if.m') diff --git a/sys/dev/dec/mcclock_if.m b/sys/dev/dec/mcclock_if.m index 01b8a64..a67caca 100644 --- a/sys/dev/dec/mcclock_if.m +++ b/sys/dev/dec/mcclock_if.m @@ -26,6 +26,8 @@ # $FreeBSD$ # +#include + INTERFACE mcclock; # -- cgit v1.1