Revision 66350755 target-lm32/op_helper.c

b/target-lm32/op_helper.c
17 17
#define SHIFT 3
18 18
#include "exec/softmmu_template.h"
19 19

  
20
void helper_raise_exception(CPULM32State *env, uint32_t index)
20
void HELPER(raise_exception)(CPULM32State *env, uint32_t index)
21 21
{
22 22
    env->exception_index = index;
23 23
    cpu_loop_exit(env);
24 24
}
25 25

  
26
void helper_hlt(CPULM32State *env)
26
void HELPER(hlt)(CPULM32State *env)
27 27
{
28 28
    CPUState *cs = CPU(lm32_env_get_cpu(env));
29 29

  
......
32 32
    cpu_loop_exit(env);
33 33
}
34 34

  
35
void helper_wcsr_im(CPULM32State *env, uint32_t im)
35
void HELPER(wcsr_im)(CPULM32State *env, uint32_t im)
36 36
{
37 37
    lm32_pic_set_im(env->pic_state, im);
38 38
}
39 39

  
40
void helper_wcsr_ip(CPULM32State *env, uint32_t im)
40
void HELPER(wcsr_ip)(CPULM32State *env, uint32_t im)
41 41
{
42 42
    lm32_pic_set_ip(env->pic_state, im);
43 43
}
44 44

  
45
void helper_wcsr_jtx(CPULM32State *env, uint32_t jtx)
45
void HELPER(wcsr_jtx)(CPULM32State *env, uint32_t jtx)
46 46
{
47 47
    lm32_juart_set_jtx(env->juart_state, jtx);
48 48
}
49 49

  
50
void helper_wcsr_jrx(CPULM32State *env, uint32_t jrx)
50
void HELPER(wcsr_jrx)(CPULM32State *env, uint32_t jrx)
51 51
{
52 52
    lm32_juart_set_jrx(env->juart_state, jrx);
53 53
}
54 54

  
55
uint32_t helper_rcsr_im(CPULM32State *env)
55
uint32_t HELPER(rcsr_im)(CPULM32State *env)
56 56
{
57 57
    return lm32_pic_get_im(env->pic_state);
58 58
}
59 59

  
60
uint32_t helper_rcsr_ip(CPULM32State *env)
60
uint32_t HELPER(rcsr_ip)(CPULM32State *env)
61 61
{
62 62
    return lm32_pic_get_ip(env->pic_state);
63 63
}
64 64

  
65
uint32_t helper_rcsr_jtx(CPULM32State *env)
65
uint32_t HELPER(rcsr_jtx)(CPULM32State *env)
66 66
{
67 67
    return lm32_juart_get_jtx(env->juart_state);
68 68
}
69 69

  
70
uint32_t helper_rcsr_jrx(CPULM32State *env)
70
uint32_t HELPER(rcsr_jrx)(CPULM32State *env)
71 71
{
72 72
    return lm32_juart_get_jrx(env->juart_state);
73 73
}

Also available in: Unified diff