15 Commits

Author SHA1 Message Date
bde
7f03eef721 Remove `retval' from syscall functions here too. 1997-12-30 08:38:34 +00:00
alex
e5ccd3d79c Typo police. 1997-06-18 00:35:53 +00:00
bde
99eb1ced50 Removed bogus unused #include. 1997-04-13 11:31:20 +00:00
bde
85e51be200 Removed bogus unused #include. 1997-04-13 11:24:29 +00:00
bde
220fb513a1 Updated to use new MOD_SYSCALL() and MOD_DISPATCH() macros.
Removed bogus unused #include and unused #includes.
1997-04-13 11:10:40 +00:00
dufault
e62e4c624a 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
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
bde
c37e7feb99 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
13b5465e81 Make this example actually compile again. Rename the module so that
it will get a unique .o file name, and convert the module's Makefile
to use <bsd.mod.mk>.
1995-08-12 17:26:37 +00:00
joerg
7cccd0e4ec 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
rgrimes
423ba8f9bc Remove trailing whitespace. 1995-05-30 06:58:14 +00:00
wollman
a2eddc566d Delete VFS example since it doesn't apply and there are ten perfectly
good examples elsewhere in the tree.  (The MISC example should probably
go, too, but it should still compile so I'm leaving it for now.)
1995-01-11 21:44:23 +00:00
dg
d81bff9b62 Terry Lambert's loadable kernel module support - example modules. 1994-08-19 12:42:13 +00:00