Commit Graph

176414 Commits

Author SHA1 Message Date
mlelstv
bb90b5f0cd cast arguments for changed printf format 2008-12-29 20:02:30 +00:00
pooka
2c52214ded _LKM -> _MODULE 2008-12-29 19:59:09 +00:00
pooka
b03bd9bf49 We are conseptually a module, so -D_MODULE. Group CPPFLAGS better. 2008-12-29 18:53:57 +00:00
pooka
13de128f76 Actually, revert previous - I doubt it would work with a non-rump kernel.
The filthy #ifdef _MODULE lives to stink another day.
2008-12-29 17:52:43 +00:00
pooka
7b9ae626a8 die filthy #ifdef _MODULE, die! 2008-12-29 17:47:08 +00:00
pooka
614c33507f include subr_devsw in rumpkern 2008-12-29 17:45:55 +00:00
pooka
8583cae233 Rename specfs_lock as device_lock and move it from specfs to devsw.
Relaxes kernel dependency on vfs.
2008-12-29 17:41:18 +00:00
christos
4266eb20ef fixes for version 2. 2008-12-29 16:05:01 +00:00
christos
ac3b5d9cdf fix dev_t format. 2008-12-29 16:03:57 +00:00
wiz
c1e161c47f Mark up NULL with .Dv. 2008-12-29 15:57:01 +00:00
pooka
3cf15d2f4e Librate sysctl_setup_func typedef from the clutches of _MODULE and
stuff it in kern_sysctl.c where its only sensible use is.
2008-12-29 15:35:02 +00:00
christos
62f7265ebd revert previous. It was meant for the branch 2008-12-29 15:08:03 +00:00
jdc
eebd19f78d On old chip revisions, clear the screen using rasops when attaching. 2008-12-29 14:42:15 +00:00
pooka
841fb873aa sprinkle static 2008-12-29 14:35:05 +00:00
njoly
f22af7d53f s/syscallcarg/syscallarg/ in comments. 2008-12-29 14:33:40 +00:00
jdc
e3fc2b7c4b Clear the screen (via rasops) when attaching.
Pointed out by Bill Green on port-sparc.
2008-12-29 14:27:59 +00:00
ad
ab21fd5c10 Don't need to hold kernel_lock for most of this (and not into the swapper!). 2008-12-29 13:40:11 +00:00
mlelstv
e5b90a2fc2 support icmp codes. Fixes PR 39056. 2008-12-29 12:54:33 +00:00
ad
ed25a64ddf Don't do KM_NOSLEEP allocations. 2008-12-29 12:52:50 +00:00
ad
a6dfe8170e Add a bunch of new text, in particular:
Use of KM_NOSLEEP is strongly discouraged as it can
	create transient, hard to debug failures that occur
	when the system is under memory pressure.

	In situations where it is not possible to sleep, for
	example because locks are held by the caller, the
	code path should be restructured to allow the allo-
	cation to be made in another place.
2008-12-29 12:43:47 +00:00
ad
a3caa093d1 Tweak text. 2008-12-29 12:18:12 +00:00
mlelstv
0f2eef0070 fdcintr1 requires the mutex to be held. 2008-12-29 12:16:52 +00:00
dsl
aee1343f51 In the :M code, 'pattern' is always malloced memory - so unconditionally
free.
2008-12-29 10:18:38 +00:00
dsl
1fc20cc6eb Count both () and {} when looking for the end of a :M pattern.
In particular inside .if empty(...) it was only counting ().
In reality this needs further changes.
This may well fix recent pkgsrc breakage.
2008-12-29 10:12:30 +00:00
christos
466a16a118 fix time_t formats 2008-12-29 05:56:02 +00:00
christos
5dd7ea59ad fix time_t format. 2008-12-29 04:13:28 +00:00
christos
13b9be18f4 fix size and format of time_t holding variable. 2008-12-29 04:09:25 +00:00
christos
ec24b06a1f fix suseconds_t format 2008-12-29 04:08:56 +00:00
christos
f1b4e74602 fix format of time_t 2008-12-29 04:01:21 +00:00
christos
0c6ff192f1 fix dev_t format. 2008-12-29 03:49:17 +00:00
christos
433a3ec2f3 fix suseconds_t format. 2008-12-29 03:45:23 +00:00
christos
0c27a0cd54 fix dev_t format. 2008-12-29 03:38:26 +00:00
christos
c20a3600e6 64 bit time_t 2008-12-29 01:53:35 +00:00
christos
e12ce13bc6 cast for tdev. 2008-12-29 01:48:19 +00:00
christos
b0b728dd70 handle 64 bit time_t/dev_t 2008-12-29 01:40:59 +00:00
christos
0b379a7b85 64 bit time_t 2008-12-29 01:35:09 +00:00
christos
72b21d3647 fix for 64 bit time_t 2008-12-29 01:33:03 +00:00
christos
99db46311e fix time_t printf format. 2008-12-29 01:26:46 +00:00
christos
7d9f37ceba fix time format. 2008-12-29 01:25:04 +00:00
christos
4fe86cf5b0 64 bit dev_t 2008-12-29 00:59:08 +00:00
christos
8663e57614 fix dev_t format 2008-12-29 00:53:43 +00:00
christos
8225aca082 fix 64 bit time_t 2008-12-29 00:51:29 +00:00
christos
e00e628d41 handle 64 bit time_t 2008-12-29 00:50:06 +00:00
christos
0d7dc435fd fix for 64 bit time_t and dev_t 2008-12-29 00:33:34 +00:00
christos
ab903bdde4 support 64 bit time_t 2008-12-28 23:20:03 +00:00
christos
07b8d9f309 consistently print dev_t's 2008-12-28 23:02:28 +00:00
tsutsui
7d8d4998c1 Fix broken RCS Id. 2008-12-28 23:00:39 +00:00
christos
bb7e3aa272 fixes for 64 bit time_t 2008-12-28 22:56:57 +00:00
christos
2d378f1d33 fix for dev_t 64 bits. 2008-12-28 22:45:05 +00:00
christos
33cb72e1c9 fix for 64 bit time_t and dev_t. 2008-12-28 21:51:46 +00:00