lukem
adc783d537
add RCSIDs
2001-11-12 15:25:01 +00:00
mrg
b49770c009
add a DEBUG for why the lkm entry point failed.
2001-06-05 12:36:08 +00:00
jdolecek
5a8911a72d
Call module "stat" entry where appropriate.
...
Problem reported and patch provided by SATOU Takashi in kern/12037.
2001-02-24 10:16:46 +00:00
jdolecek
0576f87ad3
add infrastructure to load emulations and their executable support dynamically
...
via LKM
2000-12-08 19:42:11 +00:00
jdolecek
e5b244c609
disable the LM_EXEC stuff for now, it doesn't work anyway
...
this will be fixed 'soon'
2000-11-21 00:11:38 +00:00
mrg
32aa199ccf
remove include of <vm/vm.h>
2000-06-27 17:41:07 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb
071bde5df6
Don't need to declare nblkdev, nchrdev - these are in <sys/systm.h>.
2000-03-28 06:26:22 +00:00
jdolecek
e49c7e1186
LMREADY: kill the DEBUG message "LKM: try ready"
...
LMLOADSYMS: print the DEBUG message only when (lkm_debug & LKMDB_LOAD)
1999-09-03 17:07:52 +00:00
tron
bb5689beb3
Only attempt to remove symbol table from DDB's lists of symbol tables
...
if we really loaded one.
1999-05-25 00:16:08 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
sommerfe
324ea43975
Fix format mismatch which only turns up when building with DEBUG
1999-01-15 22:02:59 +00:00
sommerfe
114c430bbb
Allow lkm's to include symbols for use by DDB.
1999-01-13 23:06:28 +00:00
perry
275d1554aa
Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
...
bcopy(x, y, z) -> memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
bcmp(x, y, z) -> memcmp(x, y, z)
bzero(x, y) -> memset(x, 0, y)
1998-08-04 04:03:10 +00:00
thorpej
da61b242a0
Use vfs_attach()/vfs_detach().
1998-02-18 07:11:21 +00:00
mrg
d90485202c
- add defopt's for UVM, UVMHIST and PMAP_NEW.
...
- remove unnecessary UVMHIST_DECL's.
1998-02-10 14:08:44 +00:00
mrg
1a8c7604f4
initial import of the new virtual memory system, UVM, into -current.
...
UVM was written by chuck cranor <chuck@maria.wustl.edu>, with some
minor portions derived from the old Mach code. i provided some help
getting swap and paging working, and other bug fixes/ideas. chuck
silvers <chuq@chuq.com> also provided some other fixes.
this is the rest of the MI portion changes.
this will be KNF'd shortly. :-)
1998-02-05 07:59:28 +00:00
thorpej
96f3f45d08
When loading a VFS LKM, use vfs_getopsbyname() to check if the file system
...
already exists.
1998-02-03 09:18:03 +00:00
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