| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
This introduces the WITHOUT_LIBKSE nob,
and changes WITHOUT_LIBPTHREADS to mean with neither threading libs.
Approved by: re(kensmith)
Notes:
svn path=/head/; revision=172492
|
| |
|
|
|
|
|
|
|
|
|
| |
Like on libthr, there is an i386_set_gsbase() stub implementation here
to avoid libc.so.5 issues. This should likely be a weak symbol and I
expect this will be fixed soon.
Approved by: re
Notes:
svn path=/head/; revision=147673
|
| |
|
|
|
|
|
|
| |
that the amd64 kernel implements i386_get/set_gsbase(). All the rest of
the ldt backwards compat code should go away soon.
Notes:
svn path=/head/; revision=145569
|
| |
|
|
|
|
|
|
| |
This is a little hairy here because the allocation and usage of this
functionality is split into two places in libpthread.
Notes:
svn path=/head/; revision=145039
|
| |
|
|
|
|
|
|
| |
kernels. Use the recently exposed direct-set routines instead. This is
only activated for when we compile i386 support libraries on amd64.
Notes:
svn path=/head/; revision=137295
|
| |
|
|
| |
Notes:
svn path=/head/; revision=134326
|
| |
|
|
|
|
|
| |
Reviewed by: deischen
Notes:
svn path=/head/; revision=134319
|
| |
|
|
|
|
|
| |
2. Export symbols needed by debugger.
Notes:
svn path=/head/; revision=133801
|
| |
|
|
| |
Notes:
svn path=/head/; revision=133756
|
| |
|
|
| |
Notes:
svn path=/head/; revision=132125
|
| |
|
|
|
|
|
|
|
| |
pthread_md.h. This commit only moves the definition; it does not
change it for any of the platforms. This more easily allows 64-bit
architectures (in particular) to pick a slightly larger stack size.
Notes:
svn path=/head/; revision=120263
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of long types for low-level locks.
Add prototypes for some internal libc functions that are
wrapped by the library as cancellation points.
Add memory barriers to alpha atomic swap functions (submitted
by davidxu).
Requested by: bde
Notes:
svn path=/head/; revision=119723
|
| |
|
|
|
|
|
|
|
|
|
|
| |
archs that can (or are required to) have per-thread registers.
Tested on i386, amd64; marcel is testing on ia64 and will
have some follow-up commits.
Reviewed by: davidxu
Notes:
svn path=/head/; revision=118510
|
| |
|
|
|
|
|
|
|
|
|
|
| |
the userland version of [gs]etcontext to switch between a thread
and the UTS scheduler (and back again). This also fixes a bug
in i386 _thr_setcontext() which wasn't properly restoring the
context.
Reviewed by: davidxu
Notes:
svn path=/head/; revision=118277
|
| |
|
|
|
|
|
| |
Reviewed by: davidxu
Notes:
svn path=/head/; revision=117713
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
by moving the definition of struct ksd to pthread_md.h and removing
the inclusion of ksd.h from thr_private.h (which has the definition
of struct kse and kse_critical_t). This allows ksd.h to have inline
functions that use struct kse and kse_critical_t and generally
yields a cleaner implementation at the cost of not having all ksd
related types/definitions in one header.
Implement the ksd functionality on ia64 by using inline functions
and permanently remove ksd.c from the ia64 specific makefile.
This change does not clean up the i386 specific version of ksd.h.
NOTE: The ksd code on ia64 abuses the tp register in the same way
as it is abused in libthr in that it is incompatible with the
runtime specification. This will be address when support for TLS
hits the tree.
Notes:
svn path=/head/; revision=116771
|
| |
|
|
|
|
|
|
|
|
|
|
| |
_ksd_readandclear_tmbx to be function-like. That way we
can define them as inline functions or create prototypes
for them.
This change allows the ksd interface on ia64 to be fully
inlined.
Notes:
svn path=/head/; revision=116719
|
| |
|
|
|
|
|
| |
thread so that the context (SSE FPU state) is also aligned.
Notes:
svn path=/head/; revision=114295
|
| |
|
|
| |
Notes:
svn path=/head/; revision=113944
|
| |
|
|
|
|
|
|
|
| |
on a couple of days ago. This should be the most recent changes.
Noticed by: davidxu
Notes:
svn path=/head/; revision=113661
|
|
|
data, and userland versions of [gs]etcontext().
Modify the UTS entry and exit functions to account of FPU validity
and format.
Notes:
svn path=/head/; revision=113656
|