summaryrefslogtreecommitdiffstats
path: root/sys/contrib/x86emu/x86emu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/x86emu/x86emu.c')
-rw-r--r--sys/contrib/x86emu/x86emu.c35
1 files changed, 2 insertions, 33 deletions
diff --git a/sys/contrib/x86emu/x86emu.c b/sys/contrib/x86emu/x86emu.c
index a26044a..3e5a06a 100644
--- a/sys/contrib/x86emu/x86emu.c
+++ b/sys/contrib/x86emu/x86emu.c
@@ -1,6 +1,5 @@
/* $OpenBSD: x86emu.c,v 1.4 2009/06/18 14:19:21 pirofti Exp $ */
/* $NetBSD: x86emu.c,v 1.7 2009/02/03 19:26:29 joerg Exp $ */
-/* $FreeBSD$ */
/*
*
@@ -33,9 +32,8 @@
*
*/
-#include <sys/param.h>
-#include <sys/kernel.h>
-#include <sys/module.h>
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <contrib/x86emu/x86emu.h>
#include <contrib/x86emu/x86emu_regs.h>
@@ -8335,32 +8333,3 @@ pop_long(struct x86emu *emu)
emu->x86.R_SP += 4;
return res;
}
-
-static int
-x86emu_modevent(module_t mod __unused, int type, void *data __unused)
-{
- int err = 0;
-
- switch (type) {
- case MOD_LOAD:
- break;
-
- case MOD_UNLOAD:
- break;
-
- default:
- err = ENOTSUP;
- break;
-
- }
- return (err);
-}
-
-static moduledata_t x86emu_mod = {
- "x86emu",
- x86emu_modevent,
- NULL,
-};
-
-DECLARE_MODULE(x86emu, x86emu_mod, SI_SUB_DRIVERS, SI_ORDER_FIRST);
-MODULE_VERSION(x86emu, 1);
OpenPOWER on IntegriCloud