Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A much better atomic lock routine. | 2009-06-01 | 1 | -43/+9 | |
| | |||||
* | Correct the _atomic_lock() asm so that gcc accepts the constraints | 2009-06-01 | 1 | -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 jj | 2009-02-15 | 1 | -1/+4 | |
| | |||||
* | the license on this is PD; david leonard says so | 2008-10-02 | 3 | -3/+9 | |
| | |||||
* | Assert my copyright on files I gave to d@ back in 1998. | 2008-10-01 | 1 | -1/+17 | |
| | |||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -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. | 2008-01-28 | 1 | -3/+7 | |
| | | | | ok espie@, beck@ | ||||
* | On hppa, function pointers may be be pointers to PLT entries. Handle those | 2007-07-07 | 1 | -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 is | 2007-03-02 | 2 | -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@ | 2007-02-19 | 4 | -3/+116 | |
| | |||||
* | Use correct define to detect soft fpu on arm, dont complain on lint so much. | 2006-11-24 | 1 | -8/+4 | |
| | |||||
* | Preliminary userland bits for OpenBSD/landisk, many things coming from | 2006-10-10 | 2 | -0/+64 | |
| | | | | NetBSD. | ||||
* | powerpc stack needs a bit more headroom; needed because of mmap()ed | 2006-09-29 | 1 | -2/+2 | |
| | | | | stacks; report by Antoine Jacoutot; ok kurt@ | ||||
* | - due to the fninit() in _thread_machdep_save_float_state() all calls to | 2006-04-06 | 1 | -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; | 2006-02-06 | 1 | -2/+2 | |
| | |||||
* | My email address changed quite a while ago... | 2005-12-14 | 1 | -2/+2 | |
| | |||||
* | don't ask; ok drahn | 2005-11-25 | 1 | -1/+5 | |
| | |||||
* | Convert float register save to new 64 bit ABI requirements. | 2004-11-02 | 2 | -14/+58 | |
| | |||||
* | couple of changes (int -> long) to handle 64 bits. | 2004-09-09 | 3 | -44/+45 | |
| | |||||
* | mips->mips64 | 2004-08-11 | 5 | -5/+5 | |
| | |||||
* | Use double load/store instructions whenever possible. | 2004-03-02 | 2 | -72/+45 | |
| | |||||
* | 88k uthread stuff. some regress succeeds, a few others still fail. This | 2004-02-27 | 4 | -2/+188 | |
| | | | | is enough to start debugging further.. ok miod | ||||
* | change amd64's MACHINE_ARCH from x86_64 to amd64. There are many many | 2004-02-27 | 4 | -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 old | 2004-02-25 | 2 | -4/+50 | |
| | | | | copyright code remained. | ||||
* | copyrights | 2004-02-25 | 8 | -4/+116 | |
| | |||||
* | initial working pthreads support from sparc64, done with drahn. there are | 2004-02-25 | 8 | -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 marc | 2004-02-21 | 2 | -11/+45 | |
| | |||||
* | Implement the arm pthreads pieces, only two regress fails, preemption_float | 2004-02-21 | 2 | -158/+95 | |
| | | | | and sigmask. | ||||
* | Add copyright to code where I forgot, thx wouter. | 2004-02-09 | 1 | -2/+27 | |
| | |||||
* | Add arm support files for libpthread. | 2004-02-09 | 4 | -0/+250 | |
| | |||||
* | remove silly stub file for alpha and only try to compile _atomic_lock.c | 2004-02-06 | 1 | -6/+0 | |
| | | | | | | if it actually exists. ok marc@ | ||||
* | remove sparcv9 code. | 2004-02-02 | 1 | -8/+2 | |
| | | | | ok marc@ | ||||
* | sparc -> sparc64 | 2004-02-02 | 3 | -6/+10 | |
| | |||||
* | the rest of the libs stuff; from art@ again | 2004-01-28 | 8 | -0/+106 | |
| | |||||
* | Real atomic locks for m88k. | 2003-10-26 | 1 | -3/+41 | |
| | |||||
* | Strict prototypes. | 2003-06-02 | 1 | -2/+4 | |
| | |||||
* | libpthread support for vax, at last. | 2003-05-27 | 2 | -13/+66 | |
| | |||||
* | Missing licence | 2003-05-19 | 1 | -1/+2 | |
| | |||||
* | - save and restore %fsr, too. | 2003-02-14 | 1 | -1/+15 | |
| | | | | - better function descriptions | ||||
* | priviledged -> privileged from David Krause via Henning Brauer | 2003-02-10 | 1 | -2/+2 | |
| | |||||
* | typo | 2003-01-31 | 2 | -4/+4 | |
| | |||||
* | stuff in arch/sparc64 is by defn v9, remove < v9 #ifdefs. ok marc. | 2003-01-31 | 1 | -10/+1 | |
| | |||||
* | Create a siginfo_t for thread-to-thread kill. | 2003-01-31 | 1 | -4/+6 | |
| | | | | | Clean up (compiler warning elimination). Compile check options added but commented out as they have not been checked on all architectures, yet. | ||||
* | Save all floating point registers to full register sized fields, not | 2003-01-27 | 2 | -10/+43 | |
| | | | | half-sized areas. fixes preemption_float on powerpc. | ||||
* | save fpu context (needs optimization) | 2003-01-26 | 3 | -5/+59 | |
| | |||||
* | On save: | 2003-01-24 | 1 | -2/+14 | |
| | | | | | | | | If the fpu isn't enabled, don't save state, otherwise, save the state, mark both sides clean and disable the fpu. On restore: If the saved fpu state has the fpu disabled, do nothing, otherwise, restore everything. | ||||
* | Save FPU state (unconditionally) | 2003-01-24 | 3 | -3/+102 | |
| | |||||
* | save i386 fpu state | 2003-01-24 | 2 | -17/+24 | |
| | |||||
* | stubs for functions needed by the vax | 2003-01-23 | 1 | -0/+37 | |
| | |||||
* | make it compile | 2003-01-16 | 1 | -1/+3 | |
| |