aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-06-10 10:57:29 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-06-10 10:57:29 +0000
commit897cd717a56fada7bcdb663c761885013df84a20 (patch)
treea452ee9b49edc4a7a01b5f26baa2798217a67923 /sys/sys/module.h
parent8c12612cf6d4265be5c54e20f768e6fd697fd1b3 (diff)
downloadsrc-897cd717a56fada7bcdb663c761885013df84a20.tar.gz
src-897cd717a56fada7bcdb663c761885013df84a20.zip
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
Notes
Notes: svn path=/head/; revision=36849
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 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);