summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch (follow)
Commit message (Collapse)AuthorAgeFilesLines
* So passes uthreadsguenther2012-09-0154-2774/+0
| | | | | Like autumn leaves on water don't fear the tedu@
* Unbreak build of libpthread on hppa/hppa64 by using correct type injsing2011-11-142-4/+4
| | | | | | _atomic_lock() declaration. ok deraadt@
* Initial hppa64 code drop; not finished yet, but this at least allows us tokettenis2011-08-043-0/+131
| | | | | | build stuff. ok deraadt@
* Don't try to outsmart gcc inline assembler when saving the cpsr in themiod2011-08-031-4/+4
| | | | | thread context, this used to work but loses bigtime with gcc4. ok drahn@ deraadt@
* Revert previous commit: if gcc picks a memory operand for the asm thenguenther2011-01-041-2/+2
| | | | | 'movl' will result in an assembler error. Sorry llvm-clang users: fix your compiler to match gcc+as
* Make this compile with llvm-clang; problem pointed out by Amit Kulkarniguenther2010-12-311-2/+2
|
* Sync with amd64, to allow this to compile without warnings with gcc4:miod2010-12-031-5/+5
| | | | | | ``Correct the _atomic_lock() asm so that gcc accepts the constraints when compiling without optimization; fix copied from the kernel's atomic.h'' spotted by jim@
* Use __attribute__ ((aligned (16)), to make sure the FPU state is alignedkettenis2010-06-301-3/+3
| | | | | | | | | on a 128-bit boundary like we do on amd64. The padding within the struct made sure the state was properly aligned *within* the struct, but since the alignment restriction on the struct itself was only 64-bit, the required alignment was not guaranteed. We just got lucky. ok oga@, guenther@
* Make sure that we really mark the FPU registers clean.kettenis2010-05-251-2/+2
| | | | ok deraadt@
* A much better atomic lock routine.miod2009-06-011-43/+9
|
* Correct the _atomic_lock() asm so that gcc accepts the constraintsguenther2009-06-011-4/+4
| | | | | | when compiling without optimization; fix copied from the kernel's atomic.h ok miod@
* these are public domain, verified with author; spotted by jjderaadt2009-02-151-1/+4
|
* the license on this is PD; david leonard says soderaadt2008-10-023-3/+9
|
* Assert my copyright on files I gave to d@ back in 1998.drahn2008-10-011-1/+17
|
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Properly align stack such that code that uses SSE2 instructions doesn't crash.kettenis2008-01-281-3/+7
| | | | ok espie@, beck@
* On hppa, function pointers may be be pointers to PLT entries. Handle thosekettenis2007-07-071-1/+12
| | | | | | | | by replicating part of $$dyncall in the code that sets up a thread's initial stack frame. Also make sure we actually reserve some space for that initial stack frame. ok miod@
* Move landisk to hardware floating point. At the moment the FPU context ismiod2007-03-022-9/+77
| | | | | | | | | | | | | | | always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
* pthread bits for sh; help deraadt@, ok kettenis@miod2007-02-194-3/+116
|
* Use correct define to detect soft fpu on arm, dont complain on lint so much.drahn2006-11-241-8/+4
|
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-102-0/+64
| | | | NetBSD.
* powerpc stack needs a bit more headroom; needed because of mmap()edotto2006-09-291-2/+2
| | | | stacks; report by Antoine Jacoutot; ok kurt@
* - due to the fninit() in _thread_machdep_save_float_state() all calls tokurt2006-04-061-5/+16
| | | | | | | | | it need to be matched with a call to _thread_machdep_restore_float_state(), so add missing one in _thread_machdep_init(). - 16-byte align fp frame - call fwait() before save and and after restoring fp state. lots of guidance and ok mickey@
* typos from alexey dobriyan;jmc2006-02-061-2/+2
|
* My email address changed quite a while ago...drahn2005-12-141-2/+2
|
* don't ask; ok drahnderaadt2005-11-251-1/+5
|
* Convert float register save to new 64 bit ABI requirements.pefo2004-11-022-14/+58
|
* couple of changes (int -> long) to handle 64 bits.pefo2004-09-093-44/+45
|
* mips->mips64pefo2004-08-115-5/+5
|
* Use double load/store instructions whenever possible.miod2004-03-022-72/+45
|
* 88k uthread stuff. some regress succeeds, a few others still fail. Thisderaadt2004-02-274-2/+188
| | | | is enough to start debugging further.. ok miod
* change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyderaadt2004-02-274-248/+0
| | | | | | reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
* Apply my copyrights to these files which I wrote. none of the olddrahn2004-02-252-4/+50
| | | | copyright code remained.
* copyrightsderaadt2004-02-258-4/+116
|
* initial working pthreads support from sparc64, done with drahn. there arederaadt2004-02-258-20/+298
| | | | | some `debugging features' and other optimizations (such as not saving all registers) that we can still do perhaps
* if cpu has fxsr, use fxsave instead; ok marcderaadt2004-02-212-11/+45
|
* Implement the arm pthreads pieces, only two regress fails, preemption_floatdrahn2004-02-212-158/+95
| | | | and sigmask.
* Add copyright to code where I forgot, thx wouter.drahn2004-02-091-2/+27
|
* Add arm support files for libpthread.drahn2004-02-094-0/+250
|
* remove silly stub file for alpha and only try to compile _atomic_lock.cbrad2004-02-061-6/+0
| | | | | | if it actually exists. ok marc@
* remove sparcv9 code.brad2004-02-021-8/+2
| | | | ok marc@
* sparc -> sparc64brad2004-02-023-6/+10
|
* the rest of the libs stuff; from art@ againmickey2004-01-288-0/+106
|
* Real atomic locks for m88k.miod2003-10-261-3/+41
|
* Strict prototypes.miod2003-06-021-2/+4
|
* libpthread support for vax, at last.miod2003-05-272-13/+66
|
* Missing licencemiod2003-05-191-1/+2
|
* - save and restore %fsr, too.jason2003-02-141-1/+15
| | | | - better function descriptions
* priviledged -> privileged from David Krause via Henning Brauermarc2003-02-101-2/+2
|
* typoderaadt2003-01-312-4/+4
|