Olivier Houchard
2d93998b00
Import a basic implementation of the restartable atomic sequences to provide
...
atomic operations to userland (this is OK for UP only, but SMP is still so
far away).
2005-04-07 22:03:04 +00:00
Warner Losh
d8315c79d9
Start all license statements with /*-
2005-01-05 21:58:49 +00:00
Olivier Houchard
31e3e209b1
Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
...
as it has unpredictable results.
2004-12-18 17:43:01 +00:00
Olivier Houchard
432f5e3ab9
Disable interrupts for atomic_cmpset_32, this one is just not atomic.
...
Don't export it to userland.
2004-11-05 23:48:12 +00:00
Olivier Houchard
a61369085e
Try to implement atomic operations using swp, instead of disabling interrupts.
2004-11-04 19:14:50 +00:00
Olivier Houchard
6fc729af63
Import FreeBSD/arm kernel bits.
...
It only supports sa1110 (on simics) right now, but xscale support should come
soon.
Some of the initial work has been provided by :
Stephane Potvin <sepotvin at videotron.ca>
Most of this comes from NetBSD.
2004-05-14 11:46:45 +00:00