Commit Graph

207611 Commits

Author SHA1 Message Date
reinoud
918c20b3ee Return ZERO to the child on fork! 2011-12-12 13:14:23 +00:00
reinoud
7c67c37130 Print lwp values on syscall entry 2011-12-12 12:36:48 +00:00
reinoud
c17cd0d3e3 No need for such big stack spaces on lwp_fork() with the new setup. 2011-12-12 12:20:30 +00:00
kiyohara
6b95348001 Remove white-spaces.
Indents.
2011-12-12 11:38:26 +00:00
kiyohara
b92cd83da0 Call bus_space_mallocok earlier. Moreover, don't bus_space_unmap call. 2011-12-12 11:31:46 +00:00
kiyohara
d55fa69c47 Fix arguments for initppc(). 2011-12-12 11:28:04 +00:00
kiyohara
21ddec5fd3 Fix hangs-up. Remove "wrteei 1" in board's cpu_configure(). Interrupt
is enabled in powerpc-layer.
2011-12-12 11:23:57 +00:00
skrll
50e2e69cd2 Give the child more time to timeout, etc. 2011-12-12 10:56:46 +00:00
skrll
686829eb3c Revert last change to elf32-hppa.c and pull across the fix to my binutils
PR 13476.

tests/lib/libc/tls on hppa still passes with this change.
2011-12-12 07:40:56 +00:00
jakllsch
4cea2e2cdc Using BUS_DMA_NOCACHE for bus_dmamem_map() causes issues on (at least) sparc64. 2011-12-12 02:44:14 +00:00
christos
32ecf67b0b remove duplicated code. 2011-12-12 01:25:29 +00:00
roy
32e4280f5f Use RT_ADVANCE when available.
Fixes PR/44838
2011-12-12 01:11:33 +00:00
roy
5ac7eae6d8 Document rtadvd changes 2011-12-12 00:15:52 +00:00
roy
46df35d87e When adding or scrubbing a prefix, always notify userland even if the
prefix does not have IFA_ROUTE.
Don't scrub the interface in SIOCAIFADDR if the new address does't
have IFA_ROUTE. If more functions are added to in_ifscrub then this logic
might need to be revisited.

Fixes PR/26450.
2011-12-12 00:06:39 +00:00
christos
450535e4c0 u_int -> uint 2011-12-11 23:56:10 +00:00
agc
f8a6a8bef4 We usually refer to RCS keywords as "Ids", so make it obvious in the
synopsis that this script strips RCS Ids, and cross reference
ident(1) - makes it easier to find this utility with apropos(1).
2011-12-11 23:01:55 +00:00
agc
d3a7c35f37 fixup comments - no functional change 2011-12-11 22:53:26 +00:00
jmcneill
7ab3a62a90 make ttycons a proper tty device, now it can be the console 2011-12-11 22:34:42 +00:00
jmcneill
7db27dbde4 add thunk_pollchar 2011-12-11 22:33:49 +00:00
joerg
e86a1635be Align in the stack before calling _rtld in the way the x86_64 ABI
specifies. This is necessary to ensure that init functions are always
called with the correct alignment, e.g. in case they use SSE
instructions.
2011-12-11 22:07:26 +00:00
reinoud
ae1f085150 Free the systemcall and pagefault stacks on lwp destroy.
XXX what about the main ucps stackspace that is used for the trampoline?
2011-12-11 20:45:14 +00:00
christos
8e4c4c6990 - sprinkle const
- malloc + memset -> calloc
- free + malloc -> realloc
- syslog("%s", strerror(errno)) -> syslog("%m")
2011-12-11 20:44:44 +00:00
jmcneill
4dfb1f0e97 make sure to set cn_dev and cn_pri in our consdev struct 2011-12-11 20:43:03 +00:00
reinoud
e786db1a58 Rework the debug printing to use functions instead of clutting the system call
code.
2011-12-11 20:33:52 +00:00
joerg
ee8c61bc50 Use __dead. No prototype for main. 2011-12-11 15:25:52 +00:00
jmcneill
3ac58e5183 btsco works now: http://mail-index.netbsd.org/current-users/2011/12/11/msg018583.html 2011-12-11 15:15:25 +00:00
jmcneill
f89865d840 PR# kern/45701: hdaudio stops working after suspend/resume and then detach/reattach
restore BIOS pin widget config on detach, and selected pin widget config on
resume
2011-12-11 15:13:58 +00:00
joerg
7aff2f5b79 Use new -mstack-alignment option to replace the removed internal option. 2011-12-11 14:59:24 +00:00
joerg
9613dd451b Update to LLVM/Clang r146325. This fixes a number of issues for i386. 2011-12-11 14:58:50 +00:00
joerg
5222739a75 Test LD_PRELOAD for stack alignment as well. This exposes issues on
AMD64.
2011-12-11 14:57:07 +00:00
nonaka
0af6eab9df - WARNS=4
- object size is more smaller.
2011-12-11 14:05:39 +00:00
joerg
934a3ac455 Mark xassert as __dead 2011-12-11 11:05:11 +00:00
kiyohara
7b1d08098e Require arm3_cache_flush for ARM2/ARM250. 2011-12-11 03:30:23 +00:00
kiyohara
eb7d3a72c4 Split boot.h and memcreg.h for MKSYMS and MODULAR. 2011-12-11 03:19:20 +00:00
kiyohara
0b6fb4e598 Add attributes arp to eca. 2011-12-11 03:13:20 +00:00
roy
4d6bb52603 Add RDNSS and DNSSL support, RFC6106.
Replace custom lists with TAILQ lists.
Clean up plently of signed vs unsigned warnings and set WARNS=4.

Adapted from FreeBSD.
2011-12-10 19:14:29 +00:00
skrll
0afe51b354 Give my slow, old hardware more time to complete bsize_ffactor. 2011-12-10 17:50:19 +00:00
jmcneill
5b074fdc34 no need to acquire thread lock in btsco_open / btsco_close, as they are
already held by MI audio when these methods are called
2011-12-10 16:16:11 +00:00
lukem
2c9a7b42f6 Move determination of socket buffer sizes from startup to the first
time a socket is used, as the previous logic assumed AF_INET sockets
were available (which they may not be in an IPv6-only system).
Per discussion with Maxim Konovalov and the FreeBSD problem 162661.
2011-12-10 05:53:58 +00:00
buhrow
a7162be315 Fixes PR kern/20700 reported by Darcy Cain
Make 1000baset connections work even when the user specifies media 1000baset
connections with ifconfig(8) rather then only when media auto is specified.

For a further discussion of this fix, see:
http://mail-index.NetBSD.org/current-users/2011/12/07/msg018561.html
2011-12-10 02:46:07 +00:00
wiz
7559f8d444 Fix typo. Use more markup. 2011-12-09 19:15:11 +00:00
chs
ece975c635 only use PG_G on leaf PTEs.
go back to tlbflush(), all the global entries
that we create in pmap_bootstrap() are permanent.
2011-12-09 17:32:51 +00:00
reinoud
9bcb24af47 Disabled copyin/copyout debugging messages since its swamping the output on
debug output.
2011-12-09 17:24:25 +00:00
reinoud
05d970b4eb Restructure dev/clock to run from the signal stack since its safe to do now. 2011-12-09 17:23:33 +00:00
reinoud
033725b236 Disable aio usage in thunkbus_ld since mixing ucontext_t and threads is a NONO
according to the manpage.

Why is AIO using a pthread?
2011-12-09 17:21:45 +00:00
reinoud
81113b601d Enhance printing of system callss 2011-12-09 17:20:21 +00:00
yamt
e21ed02f84 - add a CAVEATS
- fix a warning
2011-12-09 15:26:48 +00:00
yamt
6735245dce - fix the section
- fix a warning
2011-12-09 15:24:39 +00:00
yamt
d4e8773667 a utility to show in-core status of file pages 2011-12-09 15:17:34 +00:00
cherry
f554225498 Move events/interrupt subsystem initialisation to before when ipis are used 2011-12-09 11:47:49 +00:00