aboutsummaryrefslogtreecommitdiff
path: root/share/examples/lkm
Commit message (Collapse)AuthorAgeFilesLines
* Zap lkm examples, they don't do anything anymore.Peter Wemm1999-04-2416-1064/+0
| | | | Notes: svn path=/head/; revision=46030
* Indicate that LKMs are obsolete, just to prevent confusion.Jordan K. Hubbard1999-02-051-0/+5
| | | | Notes: svn path=/head/; revision=43653
* Typo fix. The PR suggested that "save are for old callslot entry" shouldAlexander Langer1998-08-081-1/+1
| | | | | | | | | | be "slot area for old callslot entry", but I think "save area for old callslot entry" is what was intended. PR: 7526 Notes: svn path=/head/; revision=38192
* cince --> sinceAlexander Langer1998-08-081-1/+1
| | | | | | | | PR: 7525 Submitted by: ziggy@ryan.org Notes: svn path=/head/; revision=38190
* Remove `retval' from syscall functions here too.Bruce Evans1997-12-304-8/+6
| | | | Notes: svn path=/head/; revision=32119
* Typo police.Alexander Langer1997-06-181-1/+1
| | | | Notes: svn path=/head/; revision=26705
* Removed bogus unused #include.Bruce Evans1997-04-131-1/+0
| | | | Notes: svn path=/head/; revision=24867
* Removed bogus unused #include.Bruce Evans1997-04-131-1/+0
| | | | Notes: svn path=/head/; revision=24866
* Updated to use new MOD_SYSCALL() and MOD_DISPATCH() macros.Bruce Evans1997-04-131-12/+7
| | | | | | | Removed bogus unused #include and unused #includes. Notes: svn path=/head/; revision=24865
* Make MOD_* macros almost consistent:Peter Dufault1997-04-061-8/+2
| | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=24674
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* recording cvs-1.6 file deathPeter Wemm1995-12-304-353/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Updated lkm examples to work with prototype-related changes to theBruce Evans1995-12-2513-89/+47
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=13011
* Make this example actually compile again. Rename the module so thatJoerg Wunsch1995-08-123-27/+14
| | | | | | | | it will get a unique .o file name, and convert the module's Makefile to use <bsd.mod.mk>. Notes: svn path=/head/; revision=10037
* Make this bugger actually compile and work again:Joerg Wunsch1995-07-275-33/+28
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=9732
* Remove trailing whitespace.Rodney W. Grimes1995-05-302-2/+2
| | | | Notes: svn path=/head/; revision=8875
* Delete VFS example since it doesn't apply and there are ten perfectlyGarrett Wollman1995-01-111-1/+1
| | | | | | | | 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.) Notes: svn path=/head/; revision=5522
* Terry Lambert's loadable kernel module support - example modules.David Greenman1994-08-1919-0/+1487
Notes: svn path=/head/; revision=2128