Commit Graph

204014 Commits

Author SHA1 Message Date
christos
82f7376491 fix gcc warnings and eliminate duplicate code. 2011-08-14 12:09:35 +00:00
christos
41592955fd remove gcc-4.5 hack 2011-08-14 11:46:28 +00:00
christos
a96758e4b9 XXX: gcc avoid non-literal strings 2011-08-14 11:38:11 +00:00
christos
7d4b82edad document non-literal strings 2011-08-14 11:34:11 +00:00
christos
641b42eda3 simplify the code; this is what asprintf() is for, don't re-invent it. 2011-08-14 11:19:51 +00:00
christos
fe8677c354 Document non-literal formats 2011-08-14 10:53:16 +00:00
christos
5adf1dc258 eliminate dup code and non literal format strings 2011-08-14 10:49:58 +00:00
christos
0fa1334129 kill gcc-4.5 hack. 2011-08-14 10:40:25 +00:00
christos
850af422f9 eliminate non-literal format string. 2011-08-14 09:38:05 +00:00
christos
a9157d7432 annotate that some functions use non-literal format strings. 2011-08-14 09:07:37 +00:00
christos
0461c07844 no need for the snprintf/asprintf dance; use fixed width formats. 2011-08-14 09:07:15 +00:00
christos
dbb4627dd8 fix non-literal strings where they are not needed. 2011-08-14 09:06:12 +00:00
apb
464d645aeb Rename all static functions to have "v7fs_" prefix. Fixes a problem
in the tools build, where the static link() and unlink() functions
conflicted with those declared in <unistd.h>.
2011-08-14 09:02:07 +00:00
christos
e3c6f18d56 simplify and eliminate non literal string formats. 2011-08-14 08:19:04 +00:00
mrg
ab82fc7e5a initialise ih_ivec. 2011-08-14 08:14:00 +00:00
rmind
8ff531f87f Convert few panic() uses to asserts, reduce the scope of variable use.
No functional changes.
2011-08-14 02:31:08 +00:00
rmind
eeaaf989e3 uvm_anon_freelst: do not free PG_RELEASED pages (change uvm_anon_dispose()
to indicate them with a return value).
2011-08-14 01:20:33 +00:00
christos
dda15b03dd - fix warn/err confusiog
- fix debugging printf
- add func arguments to simple formats
2011-08-13 23:12:15 +00:00
wiz
753ff12090 Correct BUGS, from Jared. 2011-08-13 22:35:27 +00:00
wiz
61f150adbe Add irmce(4) man page.
Not hooked into the build; waiting for review.
2011-08-13 22:34:14 +00:00
christos
c5e4118a6b consistent debugging info for program headers 2011-08-13 22:25:20 +00:00
christos
9813f2c42a printing the pathname of the shared object is much more useful than the
object's address.
2011-08-13 22:24:57 +00:00
christos
89c8b6528a disable debugging that makes us core dump 2011-08-13 22:24:24 +00:00
wiz
2c079e1e05 Remove iic references, also based on comments by Jared. 2011-08-13 22:22:00 +00:00
wiz
d4089cdf45 Improvements based on comments by Jared. 2011-08-13 22:21:28 +00:00
wiz
62cbcac379 Add basic man page for emdtv(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:18:31 +00:00
wiz
1e267b8e15 Add basic man page for coram(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:08:01 +00:00
wiz
81a75b11fe Add basic man page for cxdtv(4).
Not hooked to the build yet so that the driver authors can verify and
improve it.
2011-08-13 22:00:35 +00:00
christos
ec97828f5a Always provide a meaningful short name for the kobj in the error message,
as well as the function name and the linenumber, without extra line feeds.
2011-08-13 21:04:05 +00:00
cherry
a6365cd724 Call the right function
(fix for an egregious error)
2011-08-13 20:24:19 +00:00
riastradh
f9b524691c Handle absolute symlinks to the root.
Fixes panic on `ln -s / foo && cd foo' found by ober by trying to run
wine.

ok dholland
2011-08-13 19:40:02 +00:00
jakllsch
4e38538497 Fix TLP_DEBUG after previous 2011-08-13 19:23:34 +00:00
jmcneill
e04c7348d5 lg3303 depends on dtv_math, not xc3028 2011-08-13 18:31:38 +00:00
christos
54ac9f2e2d simplifying code, unconfuses gcc index calculation. 2011-08-13 18:13:44 +00:00
cherry
ac71905311 Use spin mutices correctly.
- Prune redundant splxx()/splx() pairs.
 - Do not "leak" a mutex_spin_enter() via conditional return.

Thanks rmind@
2011-08-13 17:23:42 +00:00
cherry
e37867bdb5 Remove spurious header.
Thanks rmind@
2011-08-13 16:22:15 +00:00
jakllsch
0b2bca138d detach childern too 2011-08-13 16:08:23 +00:00
jakllsch
06e8b1bf70 Make correct spelling in comments a higher priority. 2011-08-13 16:04:09 +00:00
jakllsch
c31c99ba01 It's hard to get a backtrace after calling a NULL function pointer,
add KASSERT before calling.
2011-08-13 16:02:48 +00:00
jakllsch
94a0b3359a In *find_pending_irqs() return the value of pic_mark_pending_sources() instead
of 1.  Changed to match other ARM PIC code.
2011-08-13 15:38:47 +00:00
jmcneill
068b98b507 make sure mcontext is large enough to store the host mcontext; fixes
strange crashes seen in pool_init
2011-08-13 14:51:58 +00:00
wiz
e96bfc25cf Sort options and option descriptions, and sync usage. 2011-08-13 14:11:16 +00:00
jmcneill
11b9552b86 lwp0pcb should be struct pcb not ucontext_t, and initialize it in cpu_startup
instead of cpu_attach
2011-08-13 14:06:54 +00:00
jakllsch
6c3008d052 Sort (and synchronize) option list and `SYNOPSIS' section in
manpage, as well as the program's `usage'-line; also some other
minor changes.

From Snader_LB.
2011-08-13 14:02:48 +00:00
cherry
7bd1f7e3fe MP probing and startup code 2011-08-13 12:37:30 +00:00
jmcneill
767acfddc1 no need to print copyright/version/memory info, just call banner() 2011-08-13 12:18:54 +00:00
cherry
92ccc4ea78 Add locking around ops to the hypervisor MMU "queue". 2011-08-13 12:09:38 +00:00
jmcneill
940f2702d2 - replace the gettimeofday timecounter with one based on CLOCK_MONOTONIC
- use gettimeofday for TODR clock
2011-08-13 12:06:22 +00:00
cherry
787e5fb097 remove unnecessary locking overhead for UP 2011-08-13 11:41:57 +00:00
jmcneill
86658a2f92 aio_return returns ssize_t not int 2011-08-13 11:10:31 +00:00