summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/atomic.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostlygrehan2003-01-181-59/+71
| | | | | | obtained from Alpha atomic.h Approved by: Benno
* Fixed branch labelsgrehan2002-09-191-5/+5
| | | | Approved by: benno
* Make atomic_cmpset_32 correctly return 0 on failure.benno2002-02-241-0/+3
|
* Fix the atomic_*_32 operations. These were written before I had the abilitybenno2001-06-271-19/+19
| | | | | to test them properly and before I had a working knowledge of GCC asm constraints.
* Don't initialise ret in atomic_cmpset_32.benno2001-06-261-2/+1
| | | | Add more synchronisation.
* Fix asm constraints for atomic_cmpset_32. This fix may also be neededbenno2001-06-241-1/+1
| | | | elsewhere.
* This commit (along with one pending in sys/dev/ofw and one in sys/conf) givebenno2001-06-161-25/+27
| | | | | | | | | | | | | us our first minimal glimpse of PowerPC support. With this code we can get to the "mountroot>" prompt on my Apple iMac. We can't get any further due to lack of clock and interrupt handling, among other things. This does however mean that pmap and VM are initialising. We're fairly dependant on OpenFirmware at this point, but I hope to add support for other classes of firmware at a later stage. Reviewed by: obrien, dfr
* PowerPC atomic operation functions.benno2001-01-071-56/+298
| | | | | | | Some of these are dependant on an inline function (powerpc_mb()) that is yet to come. Reviewed by: obrien
* Shells for the atomic operations FreeBSD needs.obrien2001-01-011-0/+228
This is just waiting for a budding PowerPC ASM guy to fill in the blanks.
OpenPOWER on IntegriCloud