cegger
a4c2d5ee50
typo in comment: autconfiguration -> autoconfiguration
2009-06-06 12:56:43 +00:00
haad
e936991891
Remove debuging CFLAGS.
2009-06-06 11:09:16 +00:00
mlelstv
61ace358f2
block numbers are measured in f_frsize units. Make -P option
...
use this instead of f_bsize. Also account for reserved blocks
like normal non-P output.
Fixes PR bin/41541.
2009-06-06 09:30:45 +00:00
mlelstv
3479599edd
make space for a trailing \0 in model,revision and serial buffers.
2009-06-06 09:18:55 +00:00
haad
102c1fe812
Add proplib to list of libraries, ifx fsdb build after my getdiskinfo change.
2009-06-06 08:22:24 +00:00
haad
ea2ba1c77b
Fix my previous commit.
2009-06-06 08:10:06 +00:00
dholland
5fac9138c2
+OOM
2009-06-06 06:46:42 +00:00
ahoka
6903faa67e
Update s3 driver to 0.6.1.
...
Also add a missing object file to build a properly working module.
Closes PR xsrc/41206
2009-06-05 23:37:55 +00:00
ahoka
b498a6e0b7
Allow driver version to be set from the makefile instead of
...
relying on parsing configure scripts.
2009-06-05 23:34:36 +00:00
haad
f5b48500f1
Add support for DIOCGDISKINFO to disk like device drivers. Change
...
partutil.c::getdiskinfo to use it to get disk geometry info.
Use DIOCGWEDGEINFO ioctl to get information about partition size, if disk
driver doesn't support it use old DIOCGDINFO. This patch adds support for
wedge like devices(lvm logical volumes, ZFS zvol partitions) to newfs and
other tools.
No objections on tech-userlevel@.
2009-06-05 21:52:31 +00:00
haad
b05bf051db
Bump libdevmapper minor number, because of ioctl protocol change.
2009-06-05 20:11:21 +00:00
haad
3deb22c2eb
Parse dm param string in libdevmapper and not in a dm target init function.
...
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.
XXX. Add more sanity checks in kernel.
2009-06-05 19:57:25 +00:00
haad
62e994ce96
Parse dm param string in libdevmapper and not in a dm target init function.
...
Create proplib param dictionary entry in libdevmapper and pass it to dm in
dm_ioctl dict.
Param target is then passed to target init function, where is parse. I like
this aproach much better than passing char **argv and trusting to user input.
I have bumped minor lib/driver version.
XXX. Add more sanity checks in kernel.
2009-06-05 19:56:40 +00:00
joerg
57b5269dad
Explicitly include fcntl.h for O_CREAT to not depend on namespace
...
pollution.
2009-06-05 19:55:43 +00:00
haad
7147ed320b
Add work in support for compiling ccd and cgd drivers as a modules. I forgot
...
to committ when I have written device module autoloading stuff.
2009-06-05 19:21:02 +00:00
njoly
b0b09eac89
Regen for fstatfs.
2009-06-05 16:46:52 +00:00
njoly
ca080002aa
Add fstatfs syscall.
2009-06-05 16:45:33 +00:00
hubertf
1aba70bb8a
From the specs: address 0xff gives the die revision
2009-06-05 12:42:43 +00:00
jnemeth
5ce0121eaa
Add a new [-d var] option which when combined with -p and -m will allow
...
you to delete vars from the existing <module>.prop file.
2009-06-05 11:37:30 +00:00
wiz
70a5053abd
postfix-2.6.2 out.
2009-06-05 11:31:51 +00:00
wiz
0246bc0bc2
Sort options.
2009-06-05 09:31:07 +00:00
wiz
b7a42d7cb2
Match wording in list to other entries.
2009-06-05 09:29:15 +00:00
wiz
3d125cd052
Drop trailing whitespace. Add a missing continuation line. Use more .An.
2009-06-05 09:27:47 +00:00
jnemeth
f6768fff89
grammar fix
2009-06-05 08:40:51 +00:00
skrll
6ae2bb57af
Re-arrange and comment out stuff that's not supported yet.
2009-06-05 07:35:29 +00:00
hubertf
b290981f9c
Add iic(4) manpage, partly taken from OpenBSD.
2009-06-05 07:21:14 +00:00
mrg
06dd613f03
extend 'show event' to take /i /t and /m modifiers, to select interrupt,
...
trap or misc event types. you can mix them with /f as well, to show all
including zero events for traps and misc, "show event/ftm"
2009-06-05 04:31:47 +00:00
mrg
8d43cfc54d
convert sparc "intrcnt" counters to evcnt(9) style. XXX some of the names
...
could be better, but i just copied them from the old intrnames in locore.
i benchmarked this with a simple test of ircii ./configure && make, to see
if the additional load/store & arith would cause any noticeable degradation
as the change also converts 32 bit counters to 64 bits. amusingly, the
only trend i saw in this was that for both portions, i see a consistent
(across at least 8 runs) benefit of about 0.8% improvement. ie, the newer
larger code size / counter size code actually runs faster for some reason..
maybe there's a cacheline effect in the size of the code?
XXX the current implementation depends on a couple of things:
XXX - ev_count member of evcnt{} is first and has offset 0
XXX - that sizeof(struct evcnt) equals 32
XXX if these are not true, locore.s has #error's to catch it
2009-06-05 01:36:07 +00:00
njoly
4c8893bb2f
Regen for stat/lstat/fstat syscalls.
2009-06-04 18:01:02 +00:00
njoly
33fdfb68ef
Add stat/lstat/fstat syscalls.
2009-06-04 17:59:30 +00:00
christos
432691963c
Avoid -mcmodel=kernel so that we can build in PIC mode.
2009-06-04 12:19:35 +00:00
dholland
a3c372524a
Rectify non-compiling code that appears when DEBUG is defined.
2009-06-04 07:01:16 +00:00
dholland
a1be1bdddd
Set WARNS=4 here. This got missed on my previous WARNS sweep in games.
...
Everything appears to compile ok with WARNS=4 anyway though.
2009-06-04 06:51:11 +00:00
dholland
99d95061d4
Remove global scratch string buffer. Don't zoom off the end while reading
...
user input, either.
2009-06-04 06:47:36 +00:00
dholland
60843edfc7
Remove remaining references to sprintf.
2009-06-04 06:41:50 +00:00
dholland
b8bb3787da
Make a couple of the logging/printing functions printf-alikes. This removes
...
most of the calls to sprintf.
2009-06-04 06:27:47 +00:00
dholland
04ecbfca8b
attribute noreturn -> __dead
2009-06-04 05:52:30 +00:00
dholland
02e6a3b1d0
sprintf -> snprintf
2009-06-04 05:51:12 +00:00
dholland
891dcf008d
Increase spending on vowels. No object file diffs.
2009-06-04 05:43:29 +00:00
dholland
881e77fbe7
ANSIfy function declarations.x
2009-06-04 05:27:04 +00:00
dholland
54163608bb
sprintf -> snprintf
2009-06-04 04:48:04 +00:00
jnemeth
3ee4fdb595
Add a "-m plist" option. This option will read in an existing
...
<module>.prop file and merge any options supplied on the "command
line".
This code will serve as the basis for in-kernel merging.
2009-06-04 02:57:01 +00:00
jnemeth
fa6c059bce
add KASSERT(p != NULL); to kmem_free()
2009-06-03 22:54:51 +00:00
pgoyette
7c25ce0d52
Explicitly set sensor's units to ENVSYS_STEMP rather than having
...
it work only because ENVSYS_STEMP is #defined to 0
2009-06-03 22:34:18 +00:00
skrll
c113d9a27f
Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
...
that does not call lwp_startup().
2009-06-03 21:08:51 +00:00
bouyer
d478d33fa1
Add support for fr_*.UTF-8 locale. Setting LANG to fr_*.UTF-8 won't get
...
the message catalog right (they're encoded in iso-8859-1), but other locale
functions should work right.
Proposed on tech-userlevel on 20 May 2009.
2009-06-03 18:47:05 +00:00
macallan
f48726983f
make this compile again without tctrl
2009-06-03 16:25:22 +00:00
pooka
13c5258c1a
pool_prime emulation
2009-06-03 16:07:21 +00:00
pooka
8f814de2c0
Add user vmspace locking and remapping routines. Obviously, these
...
currently work only if the vmspace is local to the rump kernel.
2009-06-03 16:06:10 +00:00
pooka
2c5f264f9b
implement wakeup_one
2009-06-03 15:16:42 +00:00