Commit Graph

163113 Commits

Author SHA1 Message Date
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
dyoung
b47fb23dd2 Use sockaddr_in6_init(). 2007-11-06 23:48:24 +00:00
dyoung
2bc0ce1e9b Take a clue from udp_usrreq(): block IPL_SOFTNET in udp6_usrreq(),
both while we purge an interface, and while we call udp6_output().

XXX udp6_usrreq() needs more attention.
2007-11-06 23:47:08 +00:00
dyoung
cfeb7f085e Use sockaddr_in6_init(). 2007-11-06 23:40:38 +00:00
ad
1569e06e16 Install callback.h for kmem grovellers. 2007-11-06 23:39:25 +00:00
christos
b3b90d7485 Revert previous. This mess of ifdefs needs to be killed. 2007-11-06 22:08:51 +00:00
ad
b7235be3f9 Regen. 2007-11-06 22:00:00 +00:00
ad
abf0cf7ccd Merge from vmlocking. 2007-11-06 21:59:43 +00:00
ad
afc64ea58c Use the softint_* API. 2007-11-06 21:51:07 +00:00
plunky
bbbbeb6a46 use stderr for printing usage messages 2007-11-06 21:35:52 +00:00
plunky
26a4d1cf14 sort & remove unnecessary include files 2007-11-06 21:35:36 +00:00
ad
dc73f9929a Merge from vmlocking. 2007-11-06 19:50:55 +00:00
martin
6c62888809 Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations for sysinst).
Once we get a sysinst translation that needs more, we'll have to drop this
and the castrated setlocale(), and go for a real solution.
2007-11-06 19:27:07 +00:00
martin
c607cb216f Mark the characters between 0x80 and 0xff as 1 cell wide, if compiled
with ALL_80_TO_FF_SW1 defined. This is not correct in the general case,
but helps in certain restricted environments where nothing but the
default locale is available and we know what we do(tm).
2007-11-06 19:24:19 +00:00
garbled
8c63679baf Add a bunch of devices to GENERIC. Fix interrupts on the PegasosII with
a nasty little hack.  Getting closer to a working system.
2007-11-06 19:22:59 +00:00
christos
1af253e4c7 remove featuretest.h and NETBSD_SOURCE conditional ifdefs. This is not
a standard header and does not have namespace issues.
2007-11-06 19:21:18 +00:00
ad
57b6b02535 Merge from vmlocking. 2007-11-06 19:13:49 +00:00
christos
9df03145fa move the test to replace getopt higher up, before we need to include anything. 2007-11-06 19:13:16 +00:00
ad
3b271ff768 Merge from vmlocking. 2007-11-06 18:02:43 +00:00
ad
f3e0393b0e Back out chaff that should not have been merged. Spotted by rmind@. 2007-11-06 17:59:02 +00:00
ad
d5622dbb85 Fix merge error. Spotted by rmind@. 2007-11-06 17:57:46 +00:00
kiyohara
3caf19136d Sync to FreeBSD.
Add fwmethods.h fwmpegts.c
  fwcontrol.c Rev.1.23
  fwctl.8 Rev.1.21
  fwdv.c Rev.1.7
Support MPEG2-TS/HDV.  But not tested.
2007-11-06 17:02:15 +00:00
agc
d880ffcdf0 In READ_CAPACITY, send back the size of the LUN, not the maximum LBA,
which is zero-based.

Problem reported by, and fix verified by, Greg Oster. Thanks, Greg!
2007-11-06 15:59:10 +00:00
pooka
773d31b14b yank out extra debug printf 2007-11-06 15:25:40 +00:00
kiyohara
2575726a88 The argument of *_intr_establish() is changed to fwohci_flit.
Our ieee1394 coordinates from FreeBSD implementation.
Add fwohci_pci_shutdown() and fwohci_pci_power().
Move __KERNEL_RCSID to ahead.
2007-11-06 15:24:10 +00:00