Commit Graph

189560 Commits

Author SHA1 Message Date
pooka
9d4c3a0469 Support fifofs in rump. Do not include it in rumpvfs directly,
since it involves some very non-fs'y components like sockets and
local domain networking.  Also (for better or worse?), call it
rump*v*fs_fifofs instead of rumpfs_fifofs, since it does not really
provide a file system driver.

XXX: uses duplicate common symbols and functionality depends on
link order ... (but at least it works better than before this change)
2010-03-29 13:20:31 +00:00
pooka
242bf1c3e7 Stop exposing fifofs internals and leave only fifo_vnodeop_p visible. 2010-03-29 13:11:32 +00:00
njoly
0f5235579c Make compat netbsd32 clock_getres copyout the netbsd32 timespec
structure, not the native one.
2010-03-29 11:39:45 +00:00
pooka
75a8418e7c fix typo in, um, copyright.
spotted by a keen-eyed enthusiast ;)
2010-03-29 11:01:16 +00:00
cegger
0cffce294c make this build again after ieee1394 update 2010-03-29 10:49:34 +00:00
kiyohara
b22c29ccbf Remove more my debugging code. 2010-03-29 07:34:02 +00:00
mrg
d5a3d97bc4 build s_frexp.c, s_ldexp.c and s_modf.c here for new platforms, since they
don't exist as compat functions in libc.

current list of new platforms: powerpc64.

from dennis.c.ferguson@gmail.com in PR#43042.  idea to not put compat
functions into new platforms from drochner@netbsd.
2010-03-29 06:59:42 +00:00
dholland
5cea3c1fc6 remove #ifdef SVR4 2010-03-29 05:16:08 +00:00
dholland
b7b2c88aa1 Some improvements to the new UI. 2010-03-29 04:28:47 +00:00
dholland
96bcb2af91 reorg for clarity and exposition. 2010-03-29 04:00:03 +00:00
dholland
4a11aa7558 Better user interface. From OpenBSD, written by Paul Janzen quite a
long time ago. A few minor adjustments by yours truly.
2010-03-29 03:51:55 +00:00
kiyohara
6c6b8bd86e Add scsibus@sbp. 2010-03-29 03:44:37 +00:00
kiyohara
d5a3582188 Remove debugging process. 2010-03-29 03:42:15 +00:00
kiyohara
7235cdcfc7 Remove obsolete file. 2010-03-29 03:07:24 +00:00
kiyohara
af09db112b Bye-bye fw_port.h. 2010-03-29 03:05:27 +00:00
dholland
3fa2c4cfe9 Spell "versus" right. 2010-03-29 02:48:17 +00:00
dholland
f6d2af84fc Allow saved game filenames up to PATH_MAX. From OpenBSD. 2010-03-29 02:46:05 +00:00
dholland
fb89b74a21 fix quote markup, spotted in openbsd diffs 2010-03-29 02:34:50 +00:00
dholland
47514c94ae Fix typo. From OpenBSD. 2010-03-29 02:32:45 +00:00
dholland
bb74336220 Don't exit(0) on failure. Use errx() instead of fprintf. 2010-03-29 02:21:04 +00:00
pooka
7336be7f86 amazing grep, how sweet the find
that saved a hack like me
script once was lost but now it's found
was -x, but now I sh
2010-03-29 02:11:14 +00:00
pooka
a7e090f70e Add an example for a rump router cluster setup along with a README.
some contributions to the code from Martti Kuparinen
2010-03-29 02:01:47 +00:00
mrg
ffb25b0ea1 avoid some warnings on powerpc64. 2010-03-29 00:13:32 +00:00
njoly
885ee1b247 Cleanup compat netbsd32 nanosleep syscalls to use the common
nanosleep1() call instead of their own stuff.
2010-03-28 22:03:51 +00:00
snj
7f4ce11823 Spell "enough" properly. 2010-03-28 20:46:18 +00:00
tnozaki
542176520a woops, fogot to include limits.h. 2010-03-28 18:19:52 +00:00
tnozaki
19f5aa7162 MB_LEN_MAX should moved from MD to MI. 2010-03-28 14:08:22 +00:00
tnozaki
186e12cc6b avoid mbrtowc/wcrtomb buffer overrun when CPUARCH=hppa and MB_CUR_MAX > 6.
it is not usual case(merely used such mutibyte locale, eg. ja_JP.ISO-2022-JP).

[background]
before merging minoura-xpg4dl branch(2001), we argued and decided to increase
MB_LEN_MAX 1 -> 32 all CPUARCH(*but* we forgot to change it MD to MI).

without knowing that NetBSD/hp700(mergeing -current 2002) incorrectly set
MB_LEN_MAX=6 (maybe this value taken from FreeBSD). but our setlocale(3)
assumes __mb_len_max_runtime as 32, so that mbrtowc/wcrtomb may overrun.

we have to increase hppa's MB_LEN_MAX upto 32, and change it MD to MI
next libc major bump(scheduled next release 6.0).
2010-03-28 14:05:09 +00:00
pgoyette
0a999d0c06 Update acpiapm_get_powstat() to adjust for the recent changes to
acpi_bat(4).  (The warn_cap and low_cap sensors were removed, and the
values are now stored as the alarm limits of the charge sensor.)
2010-03-28 13:11:23 +00:00
bouyer
542d193bfe Apply patchset 19476 from openssl repository, fixing CVE-2010-0740.
from http://www.openssl.org/news/secadv_20100324.txt:
"In TLS connections, certain incorrectly formatted records can cause an OpenSSL
client or server to crash due to a read attempt at NULL".
2010-03-28 11:32:29 +00:00
nonaka
eb9041c052 return allocated va. 2010-03-28 07:31:59 +00:00
mrg
0edf2f9c9a - add a kmutex_t ci_ctx_lock to struct cpu_info, and initialise it in
cpu_pmap_init() and replace pmap_ctx_lock usage with this new ci_ctx_lock

- replace smp_dcache_flush_page_all() with smp_dcache_flush_page_cpuset(),
  that flushes only on the set of CPUs not, everyone.  add new
  dcache_flush_page_cpuset() to flush this page from the D$ only
  on the specified set of CPUs.

- add a cpuset to pmap_free_page() and use it when freeing PTE pages
  when a pmap is destroyed

- introduce pmap_free_page_noflush(), and use it when we allocated a
  page for PTEs but didn't use it and don't need to flush it

- don't bother with pmap_lock in pmap_extract(), the only potential
  issue is pseg_get() which is already safe


tested on sb2000, sb2500 and ultra80 with a bunch of various heavy
workloads, and seems to give a clear 1-2% speed up for high-forking /
short lived processes, such as ./configure.
2010-03-28 05:24:00 +00:00
mrg
98a4c48317 apply a patch from dennis fergusson:
fix the powerpc64 quirk handling by introducing a prefix quirk and
using it as appropriate.  fix the (postfix) quirk.

now rump and powerpc64 get along nicely.
2010-03-28 04:29:34 +00:00
dholland
33b963cb18 sort a couple things 2010-03-28 00:00:07 +00:00
tnozaki
377cb4e4f9 1. {wctype,wctrans,mbstate}_t: switch MD to MI like other
libc implementation (such as *BSD and glibc2).

2. don't typedef void * wc{type,trans}_t, suggested by soda@-san.
   it may pass through compiler type check, it's harmful.
   so i introduce dummy struct __tag_wc{type,trans}_t(iconv_t already does).

no ABI change was made.
2010-03-27 22:14:09 +00:00
mrg
d7055d4003 copy across the powerpc versions of these files for now. should use
mknative-gdb to generate these, but my initial attempt failed and
these ones seem to be about what i'd expect anyway.
suggested by dennis.c.ferguson@gmail.com in PR#43043.
2010-03-27 20:17:31 +00:00
mrg
1872638e5b don't include linux unwind support. we don't do this on 32 bit ppc,
we don't have the symbols to support it, and it breaks c++ linking.
from dennis.c.ferguson@gmail.com in PR#43041.
2010-03-27 20:11:06 +00:00
mrg
ac5bb775fa link in libsim on powerpc64 as well.
from dennis.c.ferguson@gmail.com in PR#43044.
2010-03-27 19:46:57 +00:00
christos
533e2fe94f fix tpo. 2010-03-27 16:47:05 +00:00
tnozaki
5ad520e6d1 _locale_cache_t: change ldata and items to pointer for future binary compatibility. 2010-03-27 15:25:21 +00:00
pgoyette
aae23aaf98 Constify the args to sysmon_envsys_foreach_sensor()'s callback function. 2010-03-27 13:34:16 +00:00
pgoyette
5dbc4fad52 Fix the locking protocol in sysmon_envsys_foreach_sensor(), and add an
additional argument to control whether or not the sensors are refreshed
before invoking the callback routine.
2010-03-27 13:23:18 +00:00
wiz
2b081a8993 Call chris-arm-intr-rework dormant, since chris gave up his commit bit.
Call matt-nb5-mips64 active, just look at source-changes...
2010-03-27 10:54:12 +00:00
cegger
8690c1d646 remove OSX specific fix where CLOCK_REALTIME is not defined.
It has been properly fixed in
http://mail-index.netbsd.org/source-changes/2010/03/26/msg008200.html
2010-03-27 07:16:57 +00:00
mrg
1c1a227c80 minor updates:
- gmcgarry_ctxsw replaced by yamt-idlelwp
- move nick-hppapmap into the right section
- rtr-xorg-branch is dead
- thorpej-atomic is (bascially) merged to -current
2010-03-27 03:38:27 +00:00
nonaka
821373d09b Added sdhc at cardbus support. 2010-03-27 03:04:51 +00:00
pooka
6f6b6bc6df \n, police! 2010-03-27 02:37:34 +00:00
pooka
57fb3b92e2 Access fifoinfo only when it's non-NULL. 2010-03-27 02:33:11 +00:00
christos
4f083821e4 deal with missing CLOCK_REALTIME 2010-03-26 21:33:28 +00:00
pgoyette
6c1f2c419a Make this work the way the preceeding comment blocks says it works, and
break out of the while{ } when the callback returns false, not when it
returns true!
2010-03-26 21:06:25 +00:00