joerg
b9d83a2411
Fix a typo in the last change that broke a comparision.
2007-11-08 21:58:26 +00:00
martin
4cdfe9d3ee
When creating unsigned int results, do not distinguish positive versus
...
negative overflow.
2007-11-08 21:31:04 +00:00
njoly
23e9f9fa6f
Replace strncpy with strlcpy in compat linux and linux32 uname,
...
old_uname and oldold_uname syscalls to ensure that all *utsname fields
are always NUL terminated.
2007-11-08 21:07:23 +00:00
joerg
dafa796a4f
libkvm was bumped.
2007-11-08 21:02:32 +00:00
joerg
6475789b74
Add kvm_dump_header and implement kvm_dump_wrtheader on top of it.
...
This function allows the caller finer control of how the writes happen
and doesn't force stdio as interface. Optimise clear_gap a bit to not
fill the gap byte-wise. Bump minor version of libkvm.
2007-11-08 20:48:04 +00:00
christos
170bdd7b66
make it so that we always use our own version of getopt_long as the comment
...
says.
2007-11-08 20:30:59 +00:00
christos
cae365bd34
revert the reversion of the previous change. Kill _NETBSD_SOURCE again.
2007-11-08 20:29:35 +00:00
drochner
754fc2622c
Set the number of record and play channels individually -- currently
...
we try to set both in one ioctl, to the same value, which fails if not
both record and play direction support that many channels. (Having
more play than record channels is common these days.)
This does likely address part of the problem described in PR pkg/35444
by Mihai Chelaru, and it helped Matthew R. Green about half a year
ago -- see the thread in tech-misc in April.
2007-11-08 20:27:25 +00:00
joerg
40e6194930
Move terminated developer branches into the section for terminated
...
branches.
2007-11-08 20:15:48 +00:00
drochner
2a6ead9f9c
also install zone.tab and iso3166.tab from tzdata, some applications
...
(evolution, KDE) want the former at least, and other OSes install it
(as the Makefile in tzcode suggests)
2007-11-08 20:14:07 +00:00
drochner
530000ba0e
fix typo in comment
2007-11-08 20:10:26 +00:00
pooka
c5afd8dc36
Make it possible to force attribute/directory cache re-read by
...
sending SIGHUP to mount_psshfs.
2007-11-08 17:49:43 +00:00
joerg
4267598f61
ANSIfy.
2007-11-08 17:32:30 +00:00
pooka
6b61e56541
I've written more than a fair share of this to see my name up in
...
lights. Wine & women, come to me now!
2007-11-08 17:08:46 +00:00
pooka
7dc67449bf
don't allow negative timeouts apart from -1
2007-11-08 16:42:31 +00:00
pooka
a56f46a5ac
Make attribute & directory content caching timeout a command line
...
option. Use -t -1 to never expire, which is nifty on a high-latency
link where you know the server won't be modified from under you.
2007-11-08 16:40:14 +00:00
martin
5265977a9e
When converting long double values to integer types, explicitly use the
...
"round to zero" variants of the softfloat conversion functions.
Add a variant to convert long double to unsigned long - the "to long"
variant checked for overflows that do not apply to unsigned results.
This fixes the regress/lib/libc/convfp tests for sparc64.
2007-11-08 15:50:19 +00:00
matt
9651856b04
Make this compile again.
2007-11-08 11:10:28 +00:00
pooka
f94895de17
Cast void * to intptr_t before casting to int and vice versa.
...
Fixes 64bit compilation warnings. reported by moof & wiz
2007-11-08 10:57:19 +00:00
dogcow
c067a1b95c
pesky missing semicolons.
2007-11-08 07:53:11 +00:00
dogcow
f7e7508b3f
HEAD still only has the 10-arg version of vmem_create
2007-11-08 07:50:03 +00:00
jdc
194f45e187
Fix the handling for added carriage return characters.
...
Should fix the "staircase effect" part of PR 36560.
2007-11-08 06:42:22 +00:00
jdc
55f0d59917
Make sure we copy the relevant cell (and not the first cell) for
...
each line that we copy.
We also need to touch the destination window here.
Fixes display bug in atc(6). Bug reported by and fix tested by
David Holland.
2007-11-08 06:39:31 +00:00
jdc
52cd399dde
Make sure we don't shrink windows or sub-windows so that they end up
...
with zero length or height.
2007-11-08 06:34:34 +00:00
oster
5bbb6a856e
We need to initialize dk_driver as well. Thanks to Ronald Roskens
...
for reporting the problem and testing the fix.
2007-11-08 04:10:09 +00:00
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