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
njoly
2291fd1fba
Kill extra El macro.
2011-12-09 10:58:51 +00:00
cegger
9e447445b5
re-apply merge loss
2011-12-09 10:14:20 +00:00
cegger
9a48fe3fb2
add AMD ucode MSRs
2011-12-09 10:08:47 +00:00
mrg
58e93aef76
auvia reported to work
2011-12-09 09:47:39 +00:00
reinoud
929351e30d
Remove empty lines in ttycons_consinit
2011-12-09 09:27:13 +00:00
mrg
5249bbc553
provide a lock for mpu_attach.
2011-12-09 08:56:54 +00:00
tls
1177cf8de7
Use random seed file (saved entropy) from default location by default
...
in i386 and amd64 boot.cfg.
2011-12-09 06:50:36 +00:00
mrg
0e12342e61
drop the thread lock in a couple of error cases that were missing.
2011-12-09 05:08:25 +00:00
mrg
f8fa7a45a9
update a little: zaudio failure, uaudio/umidi success
2011-12-09 05:06:57 +00:00
mrg
bb9826c712
from the usbmp branch:
...
- drop the thread lock when usbd might sleep on us.
this also makes mixerctl -s vs play work without usbmp.
2011-12-09 05:03:18 +00:00
cherry
e84002488c
Use mutex(9) instead of spl(9). Add further locks around grant table access.
2011-12-09 03:58:12 +00:00
rmind
215a4b5f51
- Explain the magic in npf_tcpfl2case().
...
- Use __unused instead of (void)cast; fix comment.
2011-12-08 23:36:57 +00:00
rmind
5ddcd2d503
pmap_bootstrap: use tlbflushg(), not tlbflush(), since we use global pages.
2011-12-08 22:36:42 +00:00
dholland
79f0d98a81
Uses uintptr_t and therefore needs stdint.h.
2011-12-08 22:27:36 +00:00
skrll
30fe64d81b
Track if we saved l_private in the mcontext and don't blindly restore it.
...
This fixes the tests in /usr/tests/lib/libc/setjmp/t_threadjmp
2011-12-08 21:00:49 +00:00
chs
556410f871
allow building without direct-map support in non-XEN kernels.
2011-12-08 15:35:34 +00:00