| 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
|
|
|
|
|
|
|
|
|
|
| |
o avoid using a global register variable.
o redefine struct ia64_tp as a union. We don't have to get to the
fields themselves. We just need it to be of the right size with
the right alignment.
Notes:
svn path=/head/; revision=161841
|
|
|
|
|
|
|
|
|
|
| |
16-byte aligned. Consequently, struct tcb is a multiple of 16
bytes in size. We need to make sure there's no padding after
struct ppc32_tp. We do this by explicitly adding the necessary
padding in front of it.
Notes:
svn path=/head/; revision=161830
|
|
|
|
|
|
|
| |
abstract the magic that happens when deriving one or the other.
Notes:
svn path=/head/; revision=161828
|
|
|
|
| |
Notes:
svn path=/head/; revision=161802
|
|
|
|
| |
Notes:
svn path=/head/; revision=161526
|
|
|
|
|
|
|
|
|
| |
movw for segment saving and restoring.
Submitted by: Diego 'Flameeyes' Petteno flameeyes at gentoo dot org
Notes:
svn path=/head/; revision=158348
|
|
|
|
|
|
|
|
|
| |
atomic operation to return and adjust the stack.
Submitted by: luoqi
Notes:
svn path=/head/; revision=155990
|
|
|
|
| |
Notes:
svn path=/head/; revision=148544
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=146832
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=144765
|
|
|
|
|
|
|
| |
ARM_TP_ADDRESS.
Notes:
svn path=/head/; revision=142571
|
|
|
|
|
|
|
|
| |
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=137294
|
|
|
|
| |
Notes:
svn path=/head/; revision=137283
|
|
|
|
| |
Notes:
svn path=/head/; revision=135735
|
|
|
|
| |
Notes:
svn path=/head/; revision=134326
|
|
|
|
|
|
|
| |
Reviewed by: deischen
Notes:
svn path=/head/; revision=134319
|
|
|
|
| |
Notes:
svn path=/head/; revision=133857
|
|
|
|
| |
Notes:
svn path=/head/; revision=133806
|
|
|
|
|
|
|
| |
2. Export symbols needed by debugger.
Notes:
svn path=/head/; revision=133801
|
|
|
|
| |
Notes:
svn path=/head/; revision=133756
|
|
|
|
|
|
|
| |
kse_switchin syscall.
Notes:
svn path=/head/; revision=132928
|
|
|
|
| |
Notes:
svn path=/head/; revision=132927
|
|
|
|
|
|
|
| |
athlon64 machine.
Notes:
svn path=/head/; revision=132913
|
|
|
|
|
|
|
| |
the time being.
Notes:
svn path=/head/; revision=132400
|
|
|
|
| |
Notes:
svn path=/head/; revision=132128
|
|
|
|
| |
Notes:
svn path=/head/; revision=132125
|
|
|
|
| |
Notes:
svn path=/head/; revision=132021
|
|
|
|
|
|
|
| |
_amd64_restore_context().
Notes:
svn path=/head/; revision=130206
|
|
|
|
|
|
|
| |
as stubs.
Notes:
svn path=/head/; revision=129206
|
|
|
|
|
|
|
|
|
|
|
| |
These files had tags after teh copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).
Approved by: rwatson (mentor)
Notes:
svn path=/head/; revision=125669
|
|
|
|
|
|
|
|
|
|
|
|
| |
flags. We now create asynchronous contexts or syscall contexts only.
Syscall contexts differ from the minimal ABI dictated contexts by
having the scratch registers saved and restored because that's where
we keep the syscall arguments and syscall return values.
Since this change affects KSE, have it use kse_switchin(2) for the
"new" syscall context.
Notes:
svn path=/head/; revision=123255
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
UTS with the stack correctly aligned. Also, while here, use an indirect
jump rather than the pushq/ret hack.
This fixes threaded apps that use floating point for me, although
it hasn't solved all the problems. It is an improvement though.
Preservation of the 128 byte red zone hasn't been resolved yet.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=123155
|
|
|
|
|
|
|
|
|
| |
helps branch predict a lot for INTEL P4.
Approved by: re (scottl)
Notes:
svn path=/head/; revision=123049
|
|
|
|
| |
Notes:
svn path=/head/; revision=121409
|
|
|
|
|
|
|
|
|
|
| |
about the fpu code here. It should be using fxsave/fxrstor instead of
saving/restoring the control word. The SSE registers are used a lot in
gcc generated code on amd64. I'm not sure how this all fits together
though.
Notes:
svn path=/head/; revision=121163
|
|
|
|
| |
Notes:
svn path=/head/; revision=121043
|
|
|
|
|
|
|
|
| |
The first argument is the UTS function, the second argument is the
first argument to the UTS function. Who's on first.
Notes:
svn path=/head/; revision=120956
|
|
|
|
|
|
|
|
| |
return 0 when called the first time, and return 1 when resumed by
thr_setcontext().
Notes:
svn path=/head/; revision=120939
|
|
|
|
|
|
|
|
|
|
|
| |
yet work, but hopefully someone familiar with the sparc64
port can pick up the reins.
Submitted by: jake
With mods by: deischen
Notes:
svn path=/head/; revision=120924
|
|
|
|
| |
Notes:
svn path=/head/; revision=120675
|
|
|
|
| |
Notes:
svn path=/head/; revision=120469
|
|
|
|
| |
Notes:
svn path=/head/; revision=120454
|
|
|
|
| |
Notes:
svn path=/head/; revision=120337
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
THR_SETCONTEXT as PANIC(). The THR_SETCONTEXT macro is currently not
used, which means that the definition we had could be wrong, overly
pessimistic or unknowingly right. I don't like the odds...
The new _ia64_break_setcontext() and corresponding kernel fixes make
KSE mostly usable. There's still a case where we don't properly
restore a context and end up with a NaT consumption fault (typically
an indication for not handling NaT collection points correctly),
but at least now mutex_d works...
Notes:
svn path=/head/; revision=120254
|