Revision 8f8e3aa4 target-arm/helper.c

b/target-arm/helper.c
432 432
}
433 433

  
434 434
/* Mark an address for exclusive access.  */
435
void helper_mark_exclusive(CPUState *env, uint32_t addr)
435
void HELPER(mark_exclusive)(CPUState *env, uint32_t addr)
436 436
{
437 437
    if (!env->mmon_entry)
438 438
        allocate_mmon_state(env);
......
443 443

  
444 444
/* Test if an exclusive address is still exclusive.  Returns zero
445 445
   if the address is still exclusive.   */
446
int helper_test_exclusive(CPUState *env, uint32_t addr)
446
uint32_t HELPER(test_exclusive)(CPUState *env, uint32_t addr)
447 447
{
448 448
    int res;
449 449

  
......
457 457
    return res;
458 458
}
459 459

  
460
void helper_clrex(CPUState *env)
460
void HELPER(clrex)(CPUState *env)
461 461
{
462 462
    if (!(env->mmon_entry && env->mmon_entry->addr))
463 463
        return;
......
1176 1176
/* Not really implemented.  Need to figure out a sane way of doing this.
1177 1177
   Maybe add generic watchpoint support and use that.  */
1178 1178

  
1179
void helper_mark_exclusive(CPUState *env, uint32_t addr)
1179
void HELPER(mark_exclusive)(CPUState *env, uint32_t addr)
1180 1180
{
1181 1181
    env->mmon_addr = addr;
1182 1182
}
1183 1183

  
1184
int helper_test_exclusive(CPUState *env, uint32_t addr)
1184
uint32_t HELPER(test_exclusive)(CPUState *env, uint32_t addr)
1185 1185
{
1186 1186
    return (env->mmon_addr != addr);
1187 1187
}
1188 1188

  
1189
void helper_clrex(CPUState *env)
1189
void HELPER(clrex)(CPUState *env)
1190 1190
{
1191 1191
    env->mmon_addr = -1;
1192 1192
}
......
2496 2496
    return float32_sub(three, float32_mul(a, b, s), s);
2497 2497
}
2498 2498

  
2499
/* NEON helpers.  */
2500

  
2499 2501
/* TODO: The architecture specifies the value that the estimate functions
2500 2502
   should return.  We return the exact reciprocal/root instead.  */
2501 2503
float32 HELPER(recpe_f32)(float32 a, CPUState *env)

Also available in: Unified diff