Commit Graph

39 Commits

Author SHA1 Message Date
mrg e44b1e6182 add a patchable `lkmdebug' variable and only print debug messages
when certain bits are set.
1997-07-21 05:43:36 +00:00
thorpej f160cf5490 Prototype lkmdispatch() in <sys/lkm.h>; all LKMs use it. 1997-05-28 02:44:55 +00:00
thorpej cf30e3e3c9 Prototype lkmexists() in <sys/lkm.h> as some LKMs might need to use it. 1997-05-28 02:41:41 +00:00
christos f443b89c92 backout previous kprintf change 1996-10-13 02:32:29 +00:00
christos 60d201973e printf -> kprintf, sprintf -> ksprintf 1996-10-10 22:46:11 +00:00
explorer 13659c5c84 spelling error only 1996-08-14 05:43:19 +00:00
mrg a715717750 now that tty.h has queue.h, we do not need it here. 1996-05-31 00:03:05 +00:00
mrg 5583238255 impliment ttylist stats based on disk stats. 1996-05-29 02:02:42 +00:00
christos 96776962f7 Fix PR2277; make lkmenodev() be the same type as enodev(). 1996-03-31 21:40:27 +00:00
christos 87a65718ea Eliminate kern_conf.h 1996-03-30 22:24:38 +00:00
christos c9e746a335 Fix printf() formats. 1996-03-16 23:17:04 +00:00
christos 09afd77655 More proto fixes 1996-02-09 18:59:18 +00:00
christos 8a5b1b92e2 First pass at prototyping 1996-02-04 02:15:01 +00:00
thorpej c819cd372d In lkmioctl(), disallow LMRESERV, LMLOADBUF, LMUNRESRV, LMREADY,
and LMUNLOAD if securelevel > 0.  From Matthew Green <mrg@eterna.com.au>
1995-10-10 00:23:20 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
christos 3d1b06ab09 - new copyargs routine.
- use emul_xxx
- deprecate nsysent; use constant SYS_MAXSYSCALL instead.
- deprecate ep_setup
- call sendsig and setregs indirectly.
1995-04-22 19:42:47 +00:00
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
cgd da93322976 define lkm_nofunc, to be used instead of nosys (blech!) for unused load,
unload, and stat functions.  arguably could (should?) use NULL instead,
but this is a bit more descriptive.  also, unconditionally call the
load/unload/stat functions, as now they're known to work (because, at
worst, they're lkm_nofunc).
1994-12-24 13:25:48 +00:00
cgd 6ac2bbfc35 be more careful with types, also pull in headers where necessary. 1994-10-30 21:43:03 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
mycroft 22bdb84b17 Allow unloading of vfs's if the refcount is 0. 1994-09-22 02:22:42 +00:00
cgd cf92afd66e New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' 1994-06-29 06:29:24 +00:00
mycroft 699bbb84b6 Update to 4.4-Lite fs code. 1994-06-08 11:28:29 +00:00
cgd 4be7b669e2 fs types are names now; accompanying changes. 1994-04-14 04:05:28 +00:00
ws e9dc62de63 Support BSS in LKMs
Don't panic when modunloading an empty slot
1994-03-31 20:31:19 +00:00
mycroft d78c3ff463 Some cleanup. 1994-02-15 14:17:07 +00:00
mycroft e69b4e2e08 We don't use Aztec C. 1994-02-15 14:02:59 +00:00
cgd 114cf35108 dtrt with exec header size 1994-02-05 02:23:30 +00:00
cgd 8ca18c3fa8 use exec_map 1994-01-13 06:23:57 +00:00
ws 30a6426c82 Fix typo in last 1994-01-09 18:46:17 +00:00
ws 528eaca557 Really observe lmc_loadbuf.cnt and
correct argument order on execsw restoration.
1994-01-09 16:47:40 +00:00
mycroft d3106cb44a Fix some casting. 1994-01-08 05:51:17 +00:00
mycroft 21edb9924e Canonicalize all #includes. 1993-12-18 03:59:02 +00:00
cgd 15359c9f59 enable loadable execution handlers. need to do something better re:
how much of the file to pass in the exec package, but i think the
solution to that will be to pass e.g. a disk block's worth, or whatever;
if exec handlers really need more, they've got the damned vnode.
1993-09-05 01:36:28 +00:00
cgd a05bd46763 patch from Szabolcs Sziget <pink@bagira.fsz.bme.hu> to load lkm device
drivers properly.
1993-09-05 00:55:57 +00:00
cgd 7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
cgd 57ee917973 allocate out of kmem_map, not buffer_map. buffer_map is for
*buffers*...  hopefully this won't fragment kmem_map too much.
it should probably be put into its own map, but doesn't need to be
right now.
1993-07-19 09:57:22 +00:00
cgd 77e24b59b2 allow modules to be loaded only if device is open for writing 1993-06-07 23:10:09 +00:00
cgd 57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00