Revision 36081602 target-ppc/exec.h
b/target-ppc/exec.h | ||
---|---|---|
58 | 58 |
#define T1_avr (env->t1_avr) |
59 | 59 |
#define T2_avr (env->t2_avr) |
60 | 60 |
|
61 |
/* XXX: to clean: remove this mess */ |
|
62 |
#define PARAM(n) ((uint32_t)PARAM##n) |
|
63 |
#define SPARAM(n) ((int32_t)PARAM##n) |
|
64 |
|
|
65 | 61 |
#define FT0 (env->ft0) |
66 | 62 |
#define FT1 (env->ft1) |
67 | 63 |
#define FT2 (env->ft2) |
... | ... | |
111 | 107 |
target_ulong pte0, target_ulong pte1); |
112 | 108 |
void ppc4xx_tlb_invalidate_all (CPUState *env); |
113 | 109 |
|
114 |
static inline void env_to_regs(void) |
|
110 |
static inline void env_to_regs (void)
|
|
115 | 111 |
{ |
116 | 112 |
} |
117 | 113 |
|
118 |
static inline void regs_to_env(void) |
|
114 |
static inline void regs_to_env (void)
|
|
119 | 115 |
{ |
120 | 116 |
} |
121 | 117 |
|
122 | 118 |
int cpu_ppc_handle_mmu_fault (CPUState *env, target_ulong address, int rw, |
123 | 119 |
int is_user, int is_softmmu); |
124 | 120 |
|
125 |
static inline int cpu_halted(CPUState *env) { |
|
121 |
static inline int cpu_halted (CPUState *env) |
|
122 |
{ |
|
126 | 123 |
if (!env->halted) |
127 | 124 |
return 0; |
128 | 125 |
if (env->msr[MSR_EE] && (env->interrupt_request & CPU_INTERRUPT_HARD)) { |
Also available in: Unified diff