Age | Commit message (Collapse) | Author |
|
|
|
(but still implemented via setres[ug]id(2)). Basically this just
moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my
old implementation. The userland portion will follow in a few days.
deraadt@ OK
|
|
|
|
datasheet.
|
|
strangely =) the make ulinear (native) and slinear (emulated) available.
Also, while here, make ulinear_le:16 available via emulation.
(Btw, the LASI docs say that the format code for ulinear is a
reserved value... Probably just wasn't available in the early CS4215/AD1849's)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set on initial mapping (both enter and kenter), this seems to
repair numerous userland issues.
do not play DIRTY games either.
repair border condition on the batch unmap (as well).
|
|
many tweaks by millert@ (thanks)
thanks mpech@ for help with adduser(8)
ok millert@
|
|
|
|
ok theo
|
|
|
|
|
|
|
|
ok mickey@
|
|
|
|
debugging session with and ok'd by dhartmei@
|
|
|
|
|
|
checked against prom behaviour with a jumpered type 5.
|
|
|
|
|
|
|
|
|
|
ok deraadt@
|
|
|
|
|
|
(why? I have no clue, but not abding this causes the chip to wedge).
So, you can now switch input/output ports to your hearts content...
oh did I mention several commits ago that capture works?
|
|
Access to the global _res structure replaced by pointers to a
per thread instance. If unthreaded the pointer is to the
global structure.
Also replaced a 64k stack array with malloc-ed memory so
threaded aps (with a default 64k stack) have a chance at working.
ok deraadt@
|
|
We should probably split tip and cu into separate man pages with
the common bits included.
|
|
dealing with output source selection (doesn't work right yet, so its disabled).
|
|
this was done in -two- places is beyone me); spotted and tested by Nick.
|
|
|
|
ok hin@
|
|
|
|
is written. I'm not sure how to -correctly- handle this for the fullduplex
case, but this seems to make playback sound MUCH better...
|
|
|
|
of the thread regressions tests pass on i386, sparc, sparc64
(save the siginfo test on sparc64 due to a kernel issue) and alpha.
The tests should also pass on ppc.
In addition, it fixes the problems with the "mysql torture test"
provided by one of our users. The python port also appears to
work correctly with these changes.
Summary of changes:
* check_pending removed from thread structure, no longer used.
* unused elements of sigstatus structure removed. The sigstatus
structure is now used to keep track of siginfo data instead of
defining a local array in uthread_sig.c.
* _thread_kern_sched_sig removed
* _thread_sig_process goes away -- can't have a lock active when
signal handlers are called. Functions now call _thread_sig_handle
directly.
* _thread_clear_pending now used lib wide to clear pending flags.
It was named _clean_pending_flag and only used in uthread_sig.c.
The function clears both per thread signals, and per process signals.
* _thread_sig_handle now returns a value.
* unused debugging macros removed from the thread kernel
* dispatch pending signals after switching to a thread providing
that signal handling hasn't been deferred by the thread.
* process thread switchhooks before dispatching pending sigs
* check for thread cancellation before dispatching pending sigs
* re-wrote pthread-kill to do the correct thing. It now does
minimal thread-kill-specific processing and then calls the
existing code in uthread_sig to process the generated signal.
* shut the compiler up when compiling uthread_mutex.c
* no more "signal_lock". It does more harm than good.
* keep track of "per-process" signals.
* don't bother saving siginfo_t data for the scheduling signal.
* per posix: SIGSTOP cleared when SIGCONT received and vice versa.
* add _dispatch_signal to properly dispatch a signal to a thread.
It sets the appropriate signal mask, something that was missing
in the previous implementation. This fixes several bugs.
The previous method held a lock. If the signal handler longjmp-ed
the lock was never cleared and no more signals were processed.
|
|
half-sized areas. fixes preemption_float on powerpc.
|
|
based on netbsd.
|
|
|
|
|
|
|
|
|
|
This allows us to remove some ambiguities on how some functions are called,
remove some diagnostic checks for conditions that can never happen and
remove the ugly hack with "pmap_initialized".
Then, rework internal function interfaces and some logic so as to stop
fetching vm_page from a pa and the reverse every now and then - this makes
some pmap operations run much faster.
per art@'s idea.
|
|
is still a bit spotty, but at least interrupts are not enabled constantly
any more.
Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has
the side effect of wedging the chip under some circumstances, but I think
this can be worked around by resetting the codec... later.
|