| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
Reviewed by: grehan
|
|
|
|
|
|
|
|
|
| |
reboot, as calling OF_exit() just hangs a mac.
FreeBSD on my G4 800Mhz mac behaves identically to OSX for halt
and reboot now.
Reviewed by: grehan (who also supplied the concept and sample code)
|
|
|
|
| |
Reviewed by: grehan
|
|
|
|
|
|
| |
PTHREAD_NEW_STATE should work as expected now: a thread
marked PS_RUNNING will get sent a SIGTHR.
Still more cleanups necessary.
|
|
|
|
|
| |
thread on one of the mutex or condition variable queues is removed
from those queues before the real signal handler is called.
|
|
|
|
| |
table.
|
|
|
|
|
| |
around signals.
o Lock the process global signal action table.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Not all transfers between kernel and user space are byte oriented
and thus alignment safe. Especially fuword*() and suword*() are
sensitive to alignment but in general more optimal than block copies.
By catching the misalignment trap we avoid pessimizing the common
case of properly aligned memory accesses which we would do if we
were to use byte copies or adding tests for proper alignment.
Note that the expectation that the kernel produces aligned pointers
is unchanged. This change therefore relates to possible unaligned
pointers generated in userland.
|
| |
|
|
|
|
|
|
| |
symlinking routine.
o Modify rc.d/jail to create its own symlink relative to the jail's
filesystem
|
|
|
|
|
|
| |
definitions. Those are slightly different than the ones we used
before ACPI-CA 20031203 got imported. No structural or functional
change.
|
|
|
|
| |
Submitted by: "Scot W. Hetzel" <hetzelsw@westbend.net>
|
|
|
|
|
|
|
|
|
|
| |
then immediately terminate the shell (during boot this
also terminates the parent rc(8) shell). This was the pre-rcNG behaviour.
Also, remove an extraneous mount /.
PR: conf/57659
Submitted by: yar (with modifications)
|
|
|
|
|
|
| |
Previously it was redirected to /dev/null.
Submitted by: phk
|
|
|
|
|
|
|
|
|
| |
versions of the firmware. It responds more slowly to commands, and we
bogusly failed them. We assume that all versions of the intersil
firmware before 1.0 are 10 times slower and will give it 10x the time
to finish.
# for 5.2 we should always just assume 5s.
|
|
|
|
| |
Suggested by: fenner
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| | |
patches for the pmtools port.
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| | |
for local APIC override (64 bits). Changes have been submitted to the
vendor.
|
| |
| |
| |
| | |
own.
|
| |
| |
| |
| | |
this as it should.
|
| | |
|
| |
| |
| |
| | |
for WAK_STS to be set. Some BIOSs never set it.
|
| | |
|
| |
| |
| |
| |
| | |
present. Some buggy BIOSs do not have a ReturnOp even though it is
required for a function to return a value.
|
| |
| |
| |
| |
| |
| | |
size rounded up to a multiple of the access byte width. This overcomes
"off-by-one" programming errors in the AML often found in Toshiba
laptops.
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| |
| | |
distributed with ACPI-CA. Note that all of these have been gone from HEAD
since 20030228.
|
| |
| |
| |
| | |
avoids signal to be blocked when otherwise it can be handled.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
_thr_leave_cancellation_point to _thr_cancel_leave, add a parameter
to _thr_cancel_leave to indicate whether cancellation point should be
checked, this gives us an option to not check cancallation point if
a syscall successfully returns to avoid any leaks, current I have
creat(), open() and fcntl(F_DUPFD) to not check cancellation point
after they sucessfully returned.
Replace some members in structure kse with bit flags to same some
memory.
Conditionally compile THR_ASSERT to nothing if _PTHREAD_INVARIANTS is
not defined.
Inline some small functions in thr_cancel.c.
Use __predict_false in thr_kern.c for some executed only once code.
Reviewd by: deischen
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Makefile.inc1 underscore targets with a big warning that they are
intentionally undocumented, subject to change without notice and
might poison your dog etc. If you don't know what they are, then they
are not meant for you to use.
I've added these by hand to so many many trees that I've lost count. I
find them rather useful.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
system in a messy state *if* the user is upgrading from a system
which has no /libexec to a system which builds a DYNAMICROOT, and
if that user has set DISTDIR (as documented for ports, but it turns
out that the same variable name is used for a completely unrelated
purpose in 'make release').
There are other possible fixes for this issue, and ru@ may later
decide to commit one of those fixes. I just wanted some fix in
ASAP, and this is the fix that I have tested.
Reviewed by: bde, imp, and ru
|
| |
| |
| |
| |
| |
| |
| | |
Save __mbrtowc and __wcrtomb and restore them when changing back to
the cached locale.
Reported by: perky
|
| |
| |
| |
| | |
Submitted by: John Cagle <john.cagle@hp.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- sort the -E switch into the right place.
- add previously missing -p pid in usage (from the last few commits).
- add -E to usage.
- consistently use trfile in the man page.
I knew I shouldn't have touched the man page. If I commit to a man page,
it just makes people suspicious. :-)
|
| | |
|