资料介绍
ARM,指令集,并行机制,RISC处理器,数据层并行化,线程层并行化,原子操作指令,多内核处理器,旋转锁,内存一致性,中断子系统Information Quarterly
[20] Number 3, Autumn 2005
Information Quarterly
[21] Number 3, Autumn 2005
Information Quarterly
[22] Number 3, Autumn 2005
Information Quarterly
[23] Number 3, Autumn 2005
Information Quarterly
[24] Number 3, Autumn 2005
static inline void _raw_spin_lock(spinlock_t *lock)
{
unsigned long tmp;
_asm__ __volatile__(
1: ldrex %0, [%1] ; exclusive read lock
teq %0, #0 ; check if free
wfene ; if not, wait (saves power)
strexeq %0, %2, [%