jmcneill
fd1295e151
let env URKELVISOR=0 disable it at runtime
2011-09-05 12:49:33 +00:00
reinoud
e03ffd2ecb
Move kpreempt_enable/disable to splsched()
2011-09-05 12:40:38 +00:00
reinoud
ebe91428da
Disable kernel preemption in the critical section of cpu_switchto()
2011-09-05 12:22:19 +00:00
reinoud
66a2e2bc4b
Install signal handlers just after pmap_bootstrap and don't defer it
2011-09-05 12:19:12 +00:00
rjs
66914c95f9
Add support for RFC 4638 to pppoe(4).
...
The change to if_spppsubr.c moves the test for whether LCP should
request a mru change until after the pppoe device has picked up the
mtu of the underlying ethernet device.
2011-09-05 12:19:09 +00:00
reinoud
06003def2e
Use thunk's version of sigemptyset()
2011-09-05 12:04:40 +00:00
reinoud
b802d81912
Implement thunk_sigemptyset()
2011-09-05 12:04:03 +00:00
reinoud
671e29f99f
Initialise the alternative signal stack before referring to it
2011-09-05 11:56:52 +00:00
reinoud
7c1bb80181
Disable SIGALRM from interfering with this signal handler
2011-09-05 11:25:29 +00:00
jmcneill
3b183dddb9
make sure splraise doesn't lower spl, and spllower doesn't raise it
2011-09-05 11:12:51 +00:00
reinoud
4a68a29054
Block SIGALRM on memory access and illegal instruction signal
2011-09-05 11:10:36 +00:00
reinoud
0e2ffe902b
Add thunk_sigaddset()
2011-09-05 11:09:38 +00:00
apb
ed56faf952
Use ${.OBJDIR}/NetBSD.dist.tmp instead of just NetBSD.dist.tmp.
...
This fixes a problem in which NetBSD.dist.tmp had been created in
the SRCDIR by an earlier build (performed without an OBJDIR), and
the existence of the file in the SRCDIR confused a subsequent build
(performed with an OBJDIR).
2011-09-05 09:57:02 +00:00
jdc
3d7c729d6b
Add PDP_ENDIAN definition, required for makefs (v7fs).
2011-09-05 07:38:52 +00:00
msaitoh
822e560c66
Change 0x1229's product name from 82557 to 8255x.
...
82550, 82551, 82558 and 82559 share the same product id.
This change makes "pcictl dump" happy.
2011-09-05 04:36:50 +00:00
msaitoh
99f89fa6de
regen.
2011-09-05 04:32:52 +00:00
msaitoh
2245ac22ea
Change Intel 0x1229 product name from 82557 to 8255x
2011-09-05 04:31:43 +00:00
lukem
30781daf0c
Reduce priority of syslog message if getpeername returns ENOTCONN.
...
PR bin/18934 by Greg A. Woods (with supplied fix).
2011-09-04 23:16:41 +00:00
christos
4a0c950526
don't delete signal from the debugger.
2011-09-04 23:03:00 +00:00
christos
45bb3a7d65
remove 3 empty directories
2011-09-04 21:28:02 +00:00
christos
eef9d69994
Remove code that was used to avoid register spills. setcontext(2) can change
...
the registers, so re-fetching will produce the wrong result for trace_exit().
2011-09-04 21:14:49 +00:00
jmcneill
d273afafbe
implement splraise/spllower
2011-09-04 21:08:18 +00:00
jmcneill
6dad45362c
if pmap_page_activate fails, print the returned and expected addresses
2011-09-04 21:04:42 +00:00
reinoud
64c01c6f26
pcb->errno to pcb->pcb_errno
2011-09-04 21:01:39 +00:00
joerg
6d5539de9c
static + __dead
2011-09-04 20:55:43 +00:00
reinoud
7f2a13e6cc
Try to preserve errno over traps and on context switches
2011-09-04 20:54:52 +00:00
reinoud
dd08aea25e
Rename err to nerrno
2011-09-04 20:49:59 +00:00
reinoud
e0a62f0bed
Implement thunk_seterrno()
2011-09-04 20:46:58 +00:00
joerg
08af8338c6
Sprinkle one more static and a bunch of consts.
2011-09-04 20:35:07 +00:00
joerg
81249d1a2f
static + __dead
2011-09-04 20:31:00 +00:00
joerg
4e46e5935f
ANSIfy + static + __dead
2011-09-04 20:29:12 +00:00
joerg
924863260a
static + __dead
2011-09-04 20:28:59 +00:00
joerg
cb377560e8
ANSIfy + static + __dead
2011-09-04 20:28:09 +00:00
joerg
d6555585cf
static + __dead
2011-09-04 20:27:05 +00:00
joerg
8f81f2eef9
Use static, change deep if / else if / ... chains to switch(), apply
...
__dead, ANSIfy.
2011-09-04 20:26:17 +00:00
joerg
60dc5170cc
static + __dead
2011-09-04 20:24:59 +00:00
reinoud
07ff92e4ee
-thunk_makecontext_trapframe2go(ucontext_t *ucp, void *func, void *trapframe)
...
+thunk_makecontext_1(ucontext_t *ucp, void *func, void *arg)
2011-09-04 20:15:57 +00:00
reinoud
ed71469833
Space around | (style)
2011-09-04 20:14:37 +00:00
jmcneill
e656d3b0f6
PR# kern/45021: Please support /emul/linux/proc/version
...
Add /proc/version for procfs with -o linux. The version reported depends
on the emulation type of the calling process:
$ cat /proc/version
NetBSD version 5.99.55 (netbsd@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) NetBSD 5.99.55 (GENERIC) #39 : Sun Sep 4 09:10:05 EDT 2011
$ /emul/linux/bin/cat /proc/version
Linux version 2.6.18 (linux@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
$ /emul/linux32/bin/cat /proc/version
Linux version 2.6.18 (linux32@localhost) (gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) #0 Wed Mar 3 03:03:03 PST 2010
2011-09-04 17:32:10 +00:00
christos
1a6f6eba38
adjust sets for new zoneinfo code
2011-09-04 16:09:18 +00:00
sborrill
31a08a90c4
Don't attach GPIO framework if NGPIO = 0
2011-09-04 15:05:26 +00:00
christos
040ffb7f4c
forgot to change one usage call.
2011-09-04 13:25:22 +00:00
christos
04056fb8c6
Split sigget into sigget() and siggetinfo(). When a signal comes from the
...
debugger (l->l_sigpendset == NULL), using siggetinfo() try to fetch the
siginfo information from l->l_sigpend and then from p->p_sigpend if it
was not found. This allows us to pass siginfo information for traps from
the debugger.
2011-09-04 13:09:12 +00:00
jmcneill
a02f89094f
getlabelusesmbr: initialize 'oldlenp' parameter to sysctlbyname
2011-09-04 12:34:49 +00:00
mbalmer
17fe830303
Disable gpio(4) which can now be built and used as modules.
2011-09-04 12:31:30 +00:00
jmcneill
c72d2332bb
mem_access_handler: panic if we receive sigsegv or sigbus with SI_NOINFO,
...
and when "peeing outside the box" print the offending va
2011-09-04 12:17:59 +00:00
nakayama
24fe5dfcb8
Preset ih_pil.
2011-09-04 12:17:46 +00:00
nakayama
b68a419a7b
ih_pil is an interrupt level, not an interrupt mask.
2011-09-04 12:17:13 +00:00
christos
566e51b79b
mention new tzcode and tzdata
2011-09-04 10:23:06 +00:00
christos
2b7d74c779
merge changes.
2011-09-04 10:20:49 +00:00