163137 Commits

Author SHA1 Message Date
wiz
ed200f5855 Document the flags displayed by the default format, and mention their short
names. From espie@openbsd via jmc@openbsd.
2007-11-07 23:01:33 +00:00
uwe
a49ad7c9c4 PR 34995 is wrong about 'xn' - wsvt25 entry does need it, so bring it back.
Fixes display weirdness easily reproducible with emacs.
2007-11-07 22:40:32 +00:00
wiz
acce89e796 Improve -l description. From jmc@openbsd. 2007-11-07 22:36:35 +00:00
wiz
e2d8a15c15 Make sentence easier to parse. From jsing@openbsd via jmc@openbsd. 2007-11-07 22:27:50 +00:00
dsl
bffcdd2c73 Apply the -N (show syscalls by number) to the system return trace.
Change 'USER' to 'MISC' since they get used for misc kernel traces as well.
2007-11-07 22:22:31 +00:00
dsl
1e4971a8ff Verify that the system call is within the negative range before
deciding that it is a 'mach' system call.
XXX - shouldn't this translation only happen for certain emulations?
2007-11-07 22:20:20 +00:00
garbled
23a7584d7e Convert macppc to shared ofw_autoconf.c. Compile tested only. 2007-11-07 19:47:00 +00:00
garbled
1fb588bc51 Convert ofppc to the shared ofw_autoconf.c 2007-11-07 19:31:09 +00:00
garbled
de2c7f5da3 Create a new ofw_autoconf.c based almost entirely on the one from macppc. 2007-11-07 19:29:11 +00:00
garbled
86d671713a Add three new MI functions taken from macppc/autoconf.c:
of_getnode_byname(): Finds a node named X
of_to_uint32_prop(): sets an uint32_t prop_t from an OFW property
of_to_dataprop(): sets a data prop_t from an OFW property

These looked more generally useful, and seemed like something other
OFW-capable machines might want to take advantage of.
2007-11-07 19:26:45 +00:00
macallan
0daa60983f add r128fb at pci 2007-11-07 19:12:25 +00:00
macallan
2e65015ca3 add preliminary driver for ATI Rage 128 graphics controllers
So far it supports some acceleration ( copies and rectangle fills ) but
no video mode programming at all.
Known problems:
- tested only on macppc
- matches only one r128 chip out of ca. 30
- character drawing is unaccelerated
- no attempt is made to restore the console when X exits
2007-11-07 19:09:09 +00:00
pooka
7e0d71a369 Execute I/O in a separate thread for async I/O where previously
everything was written/read in caller context.

Also, make the "kernel" lock recursive.  It works better that way ...
2007-11-07 18:59:18 +00:00
matt
fb0b1fa0b8 Use C99 structures initializers when possible.
[from matt-armv6]
2007-11-07 16:51:28 +00:00
pooka
b1a1a009b6 final splash of ketchup after source update: init/fini mountspecific 2007-11-07 16:31:21 +00:00
pooka
6fd64d7496 implement _kernel_lock{,_unlock}() 2007-11-07 16:24:22 +00:00
pooka
a4fdbff490 fix pool cache line alignment code (hi ad) 2007-11-07 16:22:22 +00:00
matt
50ab109998 Use C99 structure initializers.
[from matt-armv6]
2007-11-07 16:12:25 +00:00
ad
ceb9d03641 __cpu_simple_locks really should be simple, otherwise they can cause
problems for e.g. profiling.
2007-11-07 16:02:27 +00:00
ad
d37935697b Merge tty changes from the vmlocking branch. 2007-11-07 15:56:11 +00:00
pooka
55a3e632c4 remove accidentally committed debugging code 2007-11-07 15:51:07 +00:00
pooka
eabd71f058 Emulate spls by using pthread rwlocks: splfoo() takes a read lock
and when doing processing in an interrupt (effectively when calling
biodone()), we take the write lock.
2007-11-07 15:41:18 +00:00
ad
f08b04c841 Make it compile. 2007-11-07 15:38:11 +00:00
joerg
bedc8f14a0 When assigning an IRQ for classic PIC routing to an ACPI link dev,
make sure to update the PCI Interrupt Register of all PCI devices using
it. This fixes interrupt with ACPI and w/o IOAPIC, when the BIOS didn't
route all interrupts correctly.

Reported by sborill@ and by Mathias De Belder in PR 37001, fix tested
by sborill@.
2007-11-07 15:29:15 +00:00
ad
54221c3e0f - Make it compile again.
- Don't call pool_cache_init with a held simplelock.
2007-11-07 14:04:27 +00:00
tsutsui
d4fdb655f8 Remove fd0 and fd1 devices (which are nonexistent on cobalt)
from (probably unused) "minimal" target.
2007-11-07 13:19:45 +00:00
pooka
ae80a527f0 oops, backout part which wasn't supposed to go in 2007-11-07 12:11:30 +00:00
pooka
0a587be2cb Call buf_syncwait() after releasing a file system. 2007-11-07 12:08:45 +00:00
dogcow
98a43c1f52 Revert the other part of the getopt_long changes to fix non-NetBSD builds;
viz -r1.22 -r1.23 src/lib/libc/stdlib/getopt_long.c
2007-11-07 09:03:58 +00:00
itohy
cf3882284c more KNF changes 2007-11-07 08:59:03 +00:00
itohy
18f935c281 KNF or make it compile by gcc 2 2007-11-07 08:56:41 +00:00
rmind
b68c6d084f Modifications for the recent vmlocking changes:
- Re-enqueue the thread when priority changes and it is in LSRUN state;
- Handle the __HAVE_FAST_SOFTINTS case in sched_curcpu_runnable_p();
- Few minor changes;
2007-11-07 03:07:14 +00:00
ad
93070c013f Fix error in previous. 2007-11-07 00:56:27 +00:00
ad
f63239c2a0 Use _lwp_setname() to pass thread names to the kernel. 2007-11-07 00:55:22 +00:00
ad
bdd61de26b Add _lwp_setname/_lwp_getname to libc. 2007-11-07 00:52:25 +00:00
joerg
75bc145079 When converting mixer values to hardware values, round up. This makes
stepping and restore actually work.
2007-11-07 00:47:18 +00:00
ad
f2917076e2 4.99.35 - more merges from vmlocking. 2007-11-07 00:39:10 +00:00
ad
d2ea62cd4b Regen. 2007-11-07 00:38:11 +00:00
ad
f1c6cfe4f6 Add _lwp_setname, _lwp_getname. Proposed on tech-kern. 2007-11-07 00:37:21 +00:00
ad
172e40df21 Add _lwp_setname, _lwp_getname. 2007-11-07 00:34:45 +00:00
njoly
577cb10855 Regen for 64-bit linux syscalls removal. 2007-11-07 00:25:39 +00:00
njoly
b32d95bfbf Remove remaining 64-bit compat linux syscalls linux_sys_xxx() (except
for ones without arguments), and replace them by their 32-bit
equivalent linux32_sys_xxxx().
2007-11-07 00:24:29 +00:00
ad
9b336836df Add -C option to display pool_cache info, eg:
Pool cache statistics.
Name          Spin  Full Empty   PoolLayer  CacheLayer  Hit%    CpuLayer  Hit%
pipepl           0     1     3         385       42862  99.1      985780  95.7
fdescpl          0     0     2         310       31133  99.0     1029620  97.0
cwdipl           0     0     2         310       31227  99.0     1029714  97.0
filepl           0     1     4         680      141415  99.5    24011135  99.4
2007-11-07 00:24:18 +00:00
ad
d18c6ca4de Merge from vmlocking:
- pool_cache changes.
- Debugger/procfs locking fixes.
- Other minor changes.
2007-11-07 00:23:13 +00:00
ad
4f48f4962d Define ipl_cookie_t, ipl_t. 2007-11-07 00:20:22 +00:00
ad
efe07d555b Use the softint_* API. 2007-11-07 00:19:54 +00:00
ad
c3f5a622f9 Merge from vmlocking. 2007-11-07 00:19:08 +00:00
martin
ed3f875e0a gcc constant folding at compile time works around the real points of these
tests - so enforce -O0.
2007-11-07 00:08:50 +00:00
martin
b7145352b8 Add another cast variant that might (and currently does) fail - pointed
out by Holger Weiss on port-sparc64.
2007-11-07 00:03:09 +00:00
dyoung
6c2f73d13c Delete dead code that I accidentally introduced before. Thanks
Arnaud Lacombe for pointing out to me Coverity CID 4562.
2007-11-06 23:50:41 +00:00