summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/i386 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* So passes uthreadsguenther2012-09-014-198/+0
| | | | | Like autumn leaves on water don't fear the tedu@
* 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@
* Properly align stack such that code that uses SSE2 instructions doesn't crash.kettenis2008-01-281-3/+7
| | | | ok espie@, beck@
* - 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@
* if cpu has fxsr, use fxsave instead; ok marcderaadt2004-02-212-11/+45
|
* save i386 fpu statemarc2003-01-242-17/+24
|
* remove unused/unreferenced code.marc2002-10-111-9/+1
| | | | ok fgs@
* typo in commentd2001-03-132-4/+4
|
* switch to _machdep_switch() instead of setjmp/longjmp. For some reason this fixes sparc threads.d2000-10-041-84/+5
|
* public domaind2000-10-031-1/+3
|
* preparation for switch-based threadsd2000-09-252-0/+107
|
* sync with FreeBSDd1999-11-251-4/+5
|
* no need to save signal state in setjmp/longjmp - it will always be the same, so we may as well save a few syscallsd1999-03-101-3/+3
|
* tidyd1999-03-101-8/+5
|
* Goodbye, MIT pthreads... you were a handy reference implementationd1999-03-106-668/+0
|
* mi+md jmp_buf; save i386s fs and gs for WINE (csapuntz@stanford.edu)d1999-01-171-22/+70
|
* use <machine/reg>d1999-01-101-4/+6
|
* move spinlock.h into the real worldd1999-01-081-6/+0
|
* md spinlockd1998-12-212-12/+19
|
* add md _atomic_is_locked; cleand1998-12-181-2/+9
|
* Move atomic_lock code from asm to C with inline asm;d1998-11-202-46/+26
| | | | | Add m68k, mips and sparc. (needs more careful checking) Add 'slow_atomic_lock' for crippled archs.
* sync with FreeBSD (rwlock, gc thread, man pages)d1998-11-091-1/+4
| | | | | | | add (broken) mips md stuff fix some const warnings add sigaltstack() stub another hash at getting shlib auto-init to work (mips/elf and i386/a.out)
* somehow i missed this directory..d1998-08-282-0/+81
|
* forgot to add this one.peter1998-07-231-0/+56
| | | | | | | SYS.h is copied from lib/libc/arch/i386/SYS.h but with "machdep_sys_" preprended to the syscall name in the ENTRY() macro. When the code is a bit more sync'ed, using SYS.h from the linc hierarchy should work.
* o removed more unused or old, left over filespeter1998-07-221-0/+11
| | | | | | | | | | | | | | o general changes so that now the library compiles and many of the tests run correctly o pthreads/Makefile.inc rebuilt using libc/sys/Makefile.inc as a template. this should be kept in sync in case of new syscalls soon TODO: figure out why remaining tests fail and fix look at building .so version of library tidy up arch/i386 directory - no longer uses syscall-template.S port other arch's from libc syscall templates
* move unchanged files from machdep/ into appropriate arch/${MACHINE}peter1998-07-214-122/+351
| | | | | | | | directories. These files have been renamed as appropriate, but hackers of these files should note those that started off as netbsd files (alpha and sparc). also moved machdep/openbsd-2.0/ to include/sys/
* initial import of NetBSD treederaadt1995-10-184-0/+372