| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
can't use utmp(5).
|
|
|
|
| |
optional here). Sort options. Print the file name on error.
|
| |
|
|
|
|
| |
internal string in the macro context.
|
|
|
|
| |
take advantage of them.
|
|
|
|
|
| |
smp_topology may be left NULL by architectures which have vanilla SMP
setups.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
1.) Handle maximum segment sizes which are smaller than the IOMMU page
size by splitting up pages across multiple segments if needed; this case
was previously unimplemented, and would cause panics.
2.) KASSERT that the physical address is in range; remove a KASSERT that
has become pointless.
3.) Add a comment describing what remains to be fixed in the IOMMU code;
I plan to address these issues soon.
Desired by: dwhite (1)
|
|
|
|
| |
Add vm object locking to pmap_object_init_pt().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
happens to work on 32-bit platforms as sizeof(long)=sizeof(int), but
wrecks all kinds of havoc (garbage reads, corrupting writes and
misaligned loads/stores) on 64-bit architectures.
The fix for now is to use fuword32() and suword32() and change the
type of the applicable int fields to int32. This is to make it
explicit that we depend on these fields being 32-bit. We may want
to revisit this later.
Reviewed by: deischen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the VMIN and VTIME members of the c_cc array. These members are not
special control characters. By not excluding these members we
changed the noncanonical mode input processing when both members
were 0 on entry (=LINUX_POSIX_VDISABLE) as we would remap them to 255
(=_POSIX_VDISABLE). See termios(4) case A for how that screws up
your terminal I/O.
PR: 23173
Originator: Bjarne Blichfeldt <bbl@dk.damgaard.com>
Patch by: Boris Nikolaus <bn@dali.tellique.de> (original submission)
Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
Reminders by: Joseph Holland King <gte743n@cad.gatech.edu>
MFC after: 5 days
|
| |
|
| |
|
|
|
|
| |
Submitted by: Stefan =?iso-8859-1?Q?E=DFer?= <se@freebsd.org>
|
| |
|
|
|
|
| |
1.159 -> 1.162 hardware/common/dev.sgml
|
|
|
|
|
|
|
|
|
|
|
| |
1.5 -> 1.6 hardware/Makefile
(new) -> 1.1 hardware/amd64/Makefile
(new) -> 1.1 hardware/amd64/article.sgml
(new) -> 1.1 hardware/amd64/proc-amd64.sgml
1.4 -> 1.5 hardware/common/hw.ent
1.5 -> 1.6 relnotes/Makefile
(new) -> 1.1 relnotes/amd64/Makefile
(new) -> 1.1 relnotes/amd64/article.sgml
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: mjacob, gallatin
|
| |
|
|
|
|
|
|
|
|
| |
- Initialize fc->status to process bus reset correctly after resume.
- Initialize AT ring buffer pointer.
- Requeue stdma to stfree for active IR buffer.
- Stop DMA before suspend for safe.
- Set powerstate after resume.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
signals were changed in kernel, it will retrieve the pending set and
try to find a thread to dispatch the signal. The dispatching process
can be rolled back if the signal is no longer in kernel.
o Create two functions _thr_signal_init() and _thr_signal_deinit(),
all signal action settings are retrieved from kernel when threading
mode is turned on, after a fork(), child process will reset them to
user settings by calling _thr_signal_deinit(). when threading mode
is not turned on, all signal operations are direct past to kernel.
o When a thread generated a synchoronous signals and its context returned
from completed list, UTS will retrieve the signal from its mailbox and try
to deliver the signal to thread.
o Context signal mask is now only used when delivering signals, thread's
current signal mask is always the one in pthread structure.
o Remove have_signals field in pthread structure, replace it with
psf_valid in pthread_signal_frame. when psf_valid is true, in context
switch time, thread will backout itself from some mutex/condition
internal queues, then begin to process signals. when a thread is not
at blocked state and running, check_pending indicates there are signals
for the thread, after preempted and then resumed time, UTS will try to
deliver signals to the thread.
o At signal delivering time, not only pending signals in thread will be
scanned, process's pending signals will be scanned too.
o Change sigwait code a bit, remove field sigwait in pthread_wait_data,
replace it with oldsigmask in pthread structure, when a thread calls
sigwait(), its current signal mask is backuped to oldsigmask, and waitset
is copied to its signal mask and when the thread gets a signal in the
waitset range, its current signal mask is restored from oldsigmask,
these are done in atomic fashion.
o Two additional POSIX APIs are implemented, sigwaitinfo() and sigtimedwait().
o Signal code locking is better than previous, there is fewer race conditions.
o Temporary disable most of code in _kse_single_thread as it is not safe
after fork().
|
|
|
|
| |
Reviewed by: deischen
|
|
|
|
|
|
|
| |
code until rtld-elf and libkse can cooperate better, those code can be
restored.
Reviewed by: deischen
|
|
|
|
| |
Reviewed by: deischen
|
|
|
|
| |
Reviewed by: deischen
|
|
|
|
|
|
|
| |
was changed, it needs signal parameter, pass -1 to it, it indicates to
interrupt syscall.
Reviewed by: deischen
|
|
|
|
|
|
|
| |
function behaves correctly in principle, but is not expected to be
100% complete. In any case, with this commit we have KSE ported
enough to start runtime testing with threaded applications and fix
whatever bugs or omissions we encounter. Yay!
|
| |
|
| |
|
|
|
|
|
|
|
| |
documentation for %a, and document it correctly instead.
s/one of aefg/one of a, e, f, or g/
Reviewed by: standards@
|
|
|
|
|
|
|
|
| |
[+|-]Inf, [+|-]NaN, nan(...), and hexidecimal FP constants.
While here, add %a and %A, which are aliases for %e, and
add support for long doubles.
Reviewed by: standards@
|
| |
|
|
|
|
| |
MacIO chips, found on older Mac G3's.
|
|
|
|
| |
found on older Mac G3's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
or unblock a thread in kernel, and allow UTS to specify whether syscall
should be restarted.
o Add ability for UTS to monitor signal comes in and removed from process,
the flag PS_SIGEVENT is used to indicate the events.
o Add a KMF_WAITSIGEVENT for KSE mailbox flag, UTS call kse_release with
this flag set to wait for above signal event.
o For SA based thread, kernel masks all signal in its signal mask, let
UTS to use kse_thr_interrupt interrupt a thread, and install a signal
frame in userland for the thread.
o Add a tm_syncsig in thread mailbox, when a hardware trap occurs,
it is used to deliver synchronous signal to userland, and upcall
is schedule, so UTS can process the synchronous signal for the thread.
Reviewed by: julian (mentor)
|
|
|
|
| |
on cpus that aren't running yet.
|
|
|
|
|
|
|
| |
POSIX says siginfo pointer parameter can be NULL and if the
function success, it should return signal number but not zero.
The waitset it past should be negatived before it can be
used as thread signal mask.
|
|
|
|
|
|
| |
untested on other platforms.
Not objected to by: scottl
|
|
|
|
|
|
| |
color in vm_page_alloc(). (This also has small performance benefits.)
- Eliminate vm_page_select_free(); vm_page_alloc() might as well
call vm_pageq_find() directly.
|
|
|
|
|
|
|
| |
will use the function to construct a siginfo structure and use
the result to export to userland.
Reviewed by: julian
|
|
|
|
| |
o fix channel command so channel - does what the man page says
|
|
|
|
|
|
| |
o relax some error handling so other drivers (e.g. ath) are usable
o revert ap scanning logic to old scheme
o add to capability info printing for 11a and 11g
|
|
|
|
|
| |
allows us to learn the behavior of a thread much more quickly after it
starts up.
|
| |
|
| |
|