Revision b0e102dd target-arm/op_helper.c

b/target-arm/op_helper.c
28 28
    cpu_loop_exit();
29 29
}
30 30

  
31
/* thread support */
32

  
33
static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
34

  
35
void cpu_lock(void)
36
{
37
    spin_lock(&global_cpu_lock);
38
}
39

  
40
void cpu_unlock(void)
41
{
42
    spin_unlock(&global_cpu_lock);
43
}
44

  
45 31
uint32_t HELPER(neon_tbl)(uint32_t ireg, uint32_t def,
46 32
                          uint32_t rn, uint32_t maxindex)
47 33
{

Also available in: Unified diff