summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/arch
Commit message (Collapse)AuthorAgeFilesLines
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-101-2/+0
| | | | | | | | These files had tags after teh copyright notice, inside the comment block (incorrect, removed), and outside the comment block (correct). Approved by: rwatson (mentor)
* Make libc/${MACHINE_ARCH} include directory not required by Alpha.ru2003-07-021-1/+1
| | | | | Submitted by: bde Tested by: beast
* Update for amd64 after repocopy from i386/peter2003-06-021-2/+1
|
* Add an implementation of _atomic_lock for sparc64. This was submitted bytmm2003-01-051-0/+45
| | | | | des; I tweaked it slightly by extending the membar and making it match the style of the rest of the sparc64 assembler code.
* Implement the lock with a cmpxchg instruction instead of a xchg.marcel2002-11-161-2/+3
| | | | | | | | | | Both are atomic, but the cmpxchg has memory ordering hints. We give this acquire semantics. NOTE: The unlock in libc_r is implemented by a "normal" assign statement. This is not correct on ia64 due to the memory ordering characteristics of the architecture. We need release semantics for an unlock.
* Add an ia64 atomic lock primitive for libc_r. This is mostly forpeter2002-07-201-0/+48
| | | | | | | | | | completeness and doesn't get us a working libc_r there because libc_r uses setjmp() and setjmp() cannot be used for context switches on ia64 as-is (or sparc64). Rather than making setjmp/longjmp behave like the *context() calls, it would be far better to make libc_r use *context() directly which is what they are for. Obtained from: marcel
* Change #include "DEFS.h" to <machine/asm.h>.peter2001-10-252-2/+2
|
* Removed duplicate VCS ID tags, as per style(9).ru2001-08-132-6/+0
|
* $Id$ -> $FreeBSD$peter1999-08-283-5/+5
|
* Change to a code sequence which is more likely to work on SMP systems.dfr1998-09-161-20/+8
| | | | Now all I need is an alpha SMP box to port FreeBSD to :-)
* Delete the atomic unlock function since it is no longer required.jb1998-06-092-30/+10
| | | | | Simplify the atomic lock to just write a value of 1 to the lock instead of taking the value passed by the caller (which just confused things).
* Atomic lock asm code for the alpha version of libc_r.jb1998-06-091-0/+57
|
* Atomic lock source.jb1998-04-292-0/+110
OpenPOWER on IntegriCloud