PR port-hpcarm/38591
XXX: There is still a hard hang that I've seen on both shark and hpcarm in
the process exit path; I don't know much beyond that yet.
It wasn't noticed till now as it wasn't overflowing onto anything
important (or was overwritten by the correct data). Recent changes
meant irqstr was placed just before footbridge_intrq and so it trashed
the interrupt linked list, and so caused an alignment fault.
Note that cats still doesn't boot even with the change, as it hangs when
starting userland, I suspect an interrupt issue.
we no longer need to guard against access from hardware interrupt handlers.
Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.
was broken by one of the early vmlocking merges, which removed the kthread
that did the initial detection / attachment and instead called the code
directly from the PCMCIA controller attach method.
Submitted in PR port-hpcarm/37227 by Peter Postma; I've tweaked it ever-so-
slightly.
MI code always calls pmap_deactivate/pmap_activate on context switch.
Instead, just record the last active lwp (or NULL if it exited) and
defer switching VM context to pmap_activate(). This saves an additional
function call overhead in cpu_switchto().
While here, g/c unused cpuswitch.S local .Lblock_userspace_access.
Also while here fix the delay loop used before timers are enabled to
cause a delay, by using a volatile int to do a countdown. gcc has become
intelligent enough to optimize an empty loop away.
For delay on PXA270 we should use one of the other counters, and a 1Mhz
clock, so that we don't have to computer the counter increment.
XXX: also looks like there's a bug if the counter wraps, as delay doesn't
look like it allows for that.
aurateconv_fetch_to: internal error: unsupported encoding: enc=1 prec=8
The issue was that the playback filters for audio were being added to the
list in the wrong order. The first entry in the list is closest to the
hardware, the last is closest to the audio buffer. The code thought it
the other way around, so the incorrect formats were being passed down the
filter list.
* add virtual consoles by using wsdisplay_vcons
* make use of generic scrollback support for consoles
* enable colour support for vidcvideo consoles
* use the default NetBSD font, rather than picking a sony one
* make kernel output green, so it's obvious.
This was tested at 800x600 in 8bpp on an A7000+ and 2MB VRAM RiscPC.
To actually benefit from these changes wscons=YES needs to be added to
your rc.conf
Make enable and disable interrupts one instruction shorter.
Make cpu_cpwait() do nothing on anything other than an xscale, where it
will still call via the cpufuncs table.
This avoids loading a function from cpufuncs and then branching into it. On
older hardware the function does nothing, so this is just a waste of CPU
cycles.