Age | Commit message (Collapse) | Author |
|
checks, causing the rx ring pointer to stall as soon as an irrelevant
frame is received when the intergace is in bpf+promiscuous or `all multicast'
mode.
Problem spotted and tracked down to the use of bpf by sebastia@. Hair pulling
by me.
|
|
Fiddling with uvm, registers and breakpoints requires taking the kernel lock
Problem spotted by tedu@
ok kettenis@ deraadt@ miod@
|
|
prevent mips64 from hitting the same problem as found by tobiasu@ on hppa.
ok miod@
|
|
in the kernel a few months back and there's no reason these pages need to
be mapped during unpack either.
|
|
tested by jj@
|
|
fault handling with a C wrapper around the softfloat code, as already done for
88110 kernels.
As a bonus, attempting to read or write FPU control registers but fcr62 and
fcr63 in userland will now correctly signal an illegal instruction, instead
of leaving the destination register unchanged and pretending nothing bad
happened.
Be sure to rm m88100_fp.d in your kernel compile directory after updating your
tree.
|
|
|
|
and these have been unhooked from the build for a while now.
|
|
|
|
|
|
exceptions, one for the imprecise exceptions. No functional change.
|
|
ok mlarkin@
|
|
size of the pointer instead of the size of the buffer.
Removal suggested by deraadt@ as no code uses the buffer
after the zeroing.
|
|
assume FS_BSDFFS for partitions 8-15 in extended sun labels
as suggested by deraadt@
|
|
been doing this since almost 1.5 years and there has been the 64-bit time_t
bump in between, so no old binary should remain.
|
|
|
|
to create subtle problems, and removing it does not prevent existing signal
delivery tests from having the correct behaviour. And this is likely redundant
with DAE processing in sigreturn.
We should probably rewind if XIP_V is not set, but does this ever happen
in real life? To be investigated on a rainy day.
This seems to fix spurious signals encountered building libstdc++ and perl.
|
|
ok miod@
|
|
instruction depend on ci->ci_cpl makes the compiler generate strange code
and might not be enough to stop the compiler moving instructions around.
ok jsing@
|
|
|
|
logic in the dedicated signal stack case, too.
Also, every time the sigcontext position is recomputed by the above logic,
recheck the DAE addresses from the beginning, in case a formerly avoided
address now risks being overwritten.
|
|
ok miod@
|
|
making sure the sigcontext will not overlap pending DAE accesses.
Fixes sporadic sys/kern/signal/earlysig regress failure.
|
|
were to be enabled, it had a bug that prevented it from working anyway.
ok deraadt@, kettenis@
|
|
|
|
|
|
with softraid(4) disks.
softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is
not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter
does not allow to sleep.
|
|
- when building the sigcontext, rewind the pipeline for recoverable
exceptions, so that sigreturn actually has a chance to cause the
interrupted instruction to be run again.
- when returning with sigreturn, and the sigcontext contains valid
DAE information, the DAE need to be emulated before returning, for
the processor will not reissue them.
- finally, when the sigframe is allocated on the current process' stack,
be careful not to stomp upon addresses referenced by the DAE information,
for this would defeat the previous point.
All these changes only affect 88100 processors only. 88110 operation is
unchanged.
While there, do not copyout an empty siginfo struct if the signal handler
does not expect any.
Hair-pulling evil testcase provided by aoyama@, based upon one of
devel/libsigsegv configure tests (which would spin on 88100 and run happily on
88110).
|
|
exception type.
|
|
instruction, rather than gazillions of inline variants. This also makes
the situations where we clear specific bits in the fip or nip registers
more visible.
No functional change.
|
|
don't need anymore.
|
|
|
|
|
|
ok jsing@
|
|
rebooting a machine, like it is done in the hibernate case.
At least some USB host controller drivers rely on this to busy way instead
of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in.
ok deraadt@, uebayashi@
|
|
opensslconf.h is just a dummy, we're lightyears away from working userspace.
ok deraadt@
|
|
ok krw@, deraadt@
|
|
ERESTART or EJUSTRETURN, for we're not supposed to. (Actually, setting the
carry bit upon syscall failure doesn't make much sense on m88k, since this is
not how the syscall stubs check for failure)
|
|
|
|
|
|
ok miod@
|
|
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
|
|
suggested by Benjamin Baier (programmer (at) netzbasis.de)
ok and comment suggestion kettenis@
|
|
|
|
to convert the PS/2 keyboard layouts to SGI serial keyboard layouts.
Only the subset of layouts known to have existed (as listed in IRIX's
<sys/kbd.h> header) get converted, and specific flavours (iopener, dec LK)
are ignored as well. `nodead' flavours, when existing, are preserved.
|
|
use this to read the DIP switches from the keyboard at attach time.
Change the state machine to allow for a `DIP switch prefix' scan code to be
received while we are not attempting to read the DIP switches, for the
`international' key (not found in regular us layouts, documented is the
`GERlessthan' key in sgi's keyboard(7) manual page) will return the
aforementioned scancode, instead of the one documented in the manual.
Thanks to sebastia@ for lending me his german layout keyboard.
|
|
you need to set up a local mirror for the install sets
brought to attention by pascal@ ok krw@
|
|
initial diff from jasper@
|
|
host controller because autoconf(9) already does it.
Breakage reported by todd@
|
|
|