Commit graph

8 commits

Author SHA1 Message Date
Alexander Langer
4f24ba2fac Typo fix. The PR suggested that "save are for old callslot entry" should
be "slot area for old callslot entry", but I think "save area for old
callslot entry" is what was intended.

PR:		7526
1998-08-08 14:19:16 +00:00
Alexander Langer
a8ff7ed66f cince --> since
PR:		7525
Submitted by:	ziggy@ryan.org
1998-08-08 14:09:23 +00:00
Bruce Evans
d03815ca62 Remove `retval' from syscall functions here too. 1997-12-30 08:38:34 +00:00
Peter Dufault
0ddf9be1f0 Make MOD_* macros almost consistent:
Use the name argument almost the same in all LKM types.  Maintain
the current behavior for the external (e.g., modstat) name for DEV,
EXEC, and MISC types being #name ## "_mod" and SYCALL and VFS only
#name.  This is a candidate for change and I vote just the name without
the "_mod".

Change the DISPATCH macro to MOD_DISPATCH for consistency with the
other macros.

Add an LKM_ANON #define to eliminate the magic -1 and associated
signed/unsigned warnings.

Add MOD_PRIVATE to support wcd.c's poking around in the lkm structure.

Change source in tree to use the new interface.

Reviewed by:	Bruce Evans
1997-04-06 11:14:13 +00:00
Bruce Evans
9463bb149a Updated lkm examples to work with prototype-related changes to the
MOD_MISC() and DISPATCH() macros.

Renamed new_syscall module as new_syscall_mod.  It seems to be standard
to have module names ending with _mod, and this may be forced when
MOD_SYSCALL() and MOD_VFS() are updated to match MOD_MISC().

Cleaned up lkm examples a little.
1995-12-25 07:19:32 +00:00
Joerg Wunsch
f4734ea953 Make this bugger actually compile and work again:
o a couple of header files have been missing

o convert the LKM Makefile to use <bsd.kmod.mk>

o rename the module to ``misc_mod'' (as opposed to ``miscmod''), so
  the module name can be made identical to the module's file name,
  avoiding the clash with one of the component's .o file names

o modstat(1/8) has been moved meanwhile
1995-07-27 09:45:28 +00:00
Rodney W. Grimes
44204187ec Remove trailing whitespace. 1995-05-30 06:58:14 +00:00
David Greenman
62a6e4161e Terry Lambert's loadable kernel module support - example modules. 1994-08-19 12:42:13 +00:00