From 897cd717a56fada7bcdb663c761885013df84a20 Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Wed, 10 Jun 1998 10:57:29 +0000 Subject: Add initial support for the FreeBSD/alpha kernel. This is very much a work in progress and has never booted a real machine. Initial development and testing was done using SimOS (see http://simos.stanford.edu for details). On the SimOS simulator, this port successfully reaches single-user mode and has been tested with loads as high as one copy of /bin/ls :-). Obtained from: partly from NetBSD/alpha --- sys/sys/module.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/sys/module.h') diff --git a/sys/sys/module.h b/sys/sys/module.h index fe54185e5010..7553a777c258 100644 --- a/sys/sys/module.h +++ b/sys/sys/module.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: module.h,v 1.1 1997/05/07 16:05:45 dfr Exp $ + * $Id: module.h,v 1.2 1997/10/24 05:29:07 jmg Exp $ */ #ifndef _SYS_MODULE_H_ @@ -52,7 +52,8 @@ typedef struct moduledata { } moduledata_t; #define DECLARE_MODULE(name, data, sub, order) \ -SYSINIT(name##module, sub, order, module_register_init, &data) +SYSINIT(name##module, sub, order, module_register_init, &data) \ +struct __hack void module_register_init(void *data); int module_register(const char *name, modeventhand_t callback, void *arg); -- cgit v1.2.3