Commit Graph

163105 Commits

Author SHA1 Message Date
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
pooka a02fe51bef Open the kernel descriptor as part of mount(), not init(). Then
it doesn't matter if someone fork()s or does other tricks between
init() and mount() (and besides, now it's where it logically should be).
2007-11-06 15:09:07 +00:00
pooka 210515ea9c Fix locking issues with the anonymous pager too so that tmpfs can work. 2007-11-06 12:57:50 +00:00
dogcow 99f2863e95 on NetBSD, cardbus_intr_establish's fifth arg's is a symbol which returns
an int, not a void; change fwohci_intr accordingly.
2007-11-06 12:32:12 +00:00
dogcow 55d73ac843 callout_init has two args. 2007-11-06 12:30:42 +00:00
pooka 7331777bf0 default to rootnode mode 0777 2007-11-06 12:26:12 +00:00
pooka 78821d0076 initialize vnode interlock when creating one 2007-11-06 12:14:37 +00:00
mjf c05cd035e3 Fix typo 2007-11-06 11:41:35 +00:00
itohy 6d75b40284 - Reset the bus if a Bus Reset condition is detected to make sure
all devices on the bus are really reset.

- Block interrupts on Bus Reset, and check it periodically until the
  reset is released.  On some 32UDE devices (probably the earlier ones)
  the RST line looks unstable without the termination power and may
  suffer ~continuous Bus Reset interrupts.

- Change number of scatter/gather segments from 16 to 17, to allow
  non-page-aligned 64KB transfer on 4KB/page platforms.
2007-11-06 11:35:35 +00:00