Commit Graph

181421 Commits

Author SHA1 Message Date
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
njoly ad76703a87 Cleanup (no functional changes).
Kill some unneeded variables and return stattement.
Rename linux32_from_stat() to better bsd_to_linux32_stat64().
Fix some types.
2009-06-03 15:13:26 +00:00
pooka 48fb37f153 opt for _KERNEL_OPT 2009-06-03 15:07:30 +00:00
njoly 5a5f8e093f Fix inverted lst_ino/__lst_ino assignment in linux32_from_stat(). 2009-06-03 14:17:18 +00:00
cegger 84dc7c540d Interrupt handling in Xen 3.5 changed. There's no longer
a hardcoded upper limit. So *our* upper limit of 200 may be different from machine to machine now.
So just retry if the hypercall failed.
2009-06-03 12:43:22 +00:00
pgoyette 677e91afbc Don't allocate the private list-threading structure unless we're going
to use it.  Otherwise we end up leaking little bits of memory for each
sensor that is not monitored at time of initial registration.
2009-06-03 11:43:15 +00:00
wiz cc8abfac27 New sentence, new line. 2009-06-03 09:04:18 +00:00
wiz cd10aae286 Bump date for previous. 2009-06-03 09:03:24 +00:00
christos 2a6e000238 add _lwp_makecontext for the vax. 2009-06-03 01:02:28 +00:00
pooka bd085b2b32 If RUMP_ACTION, treat close() as a rump syscall. 2009-06-02 23:41:35 +00:00
pooka ca254ab879 include syscalls.c 2009-06-02 23:28:53 +00:00
pooka b89c189be7 Declare extern syscallnames in a header. 2009-06-02 23:21:37 +00:00
christos 1f751faed6 make this compile one non mbr machines (move #define to the general section) 2009-06-02 21:15:53 +00:00
jnemeth e70c89ed87 note that vn_open locks the vnode 2009-06-02 18:09:34 +00:00
njoly 49c8536f1f Regen for siggetmask/sigsetmask. 2009-06-02 16:55:16 +00:00
njoly 9a0f18cccc Add siggetmask/sigsetmask syscalls. 2009-06-02 16:54:39 +00:00
njoly 5932e6a6cd Add the mask value returned by siggetmask. 2009-06-02 16:53:07 +00:00
agc 732655c303 Some autoconfig glue around header files inclusion. 2009-06-02 15:10:07 +00:00
pooka 2ff04dc7a0 document errnos 59 and 71. government denies knowledge. 2009-06-02 13:15:41 +00:00
njoly 7c47c56d95 Make nice(2) return EPERM on error, not EACCES (from sys_setpriority). 2009-06-02 13:00:23 +00:00
sjg 2428caab9f Missing ':' in .ORDER example 2009-06-01 23:28:39 +00:00
yamt cef9767a7a don't describe internal details. 2009-06-01 22:04:54 +00:00
martin 476755a88c Do not use lwp_trampoline for cpu_setfunc, but a simplified setfunc_trampoline
that does not call lwp_startup() instead.
2009-06-01 20:58:16 +00:00
pgoyette da6eeb0e4d Replace a flag that was accidentally removed. 2009-06-01 20:36:43 +00:00