summaryrefslogtreecommitdiffstats
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-10 10:57:29 +0000
committerdfr <dfr@FreeBSD.org>1998-06-10 10:57:29 +0000
commit224577d6cf4d0daf37dddd81b9f9c646ad2be083 (patch)
tree345e0ea224736af311f2e28c0acb268d809bff9c /sys/sys/module.h
parent2e6fba7d51b32033eec1fc27efaa0f8e840825fe (diff)
downloadFreeBSD-src-224577d6cf4d0daf37dddd81b9f9c646ad2be083.zip
FreeBSD-src-224577d6cf4d0daf37dddd81b9f9c646ad2be083.tar.gz
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
Diffstat (limited to 'sys/sys/module.h')
-rw-r--r--sys/sys/module.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h
index fe54185..7553a77 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);
OpenPOWER on IntegriCloud