Revision 636aa200 target-ppc/helper_regs.h
b/target-ppc/helper_regs.h | ||
---|---|---|
21 | 21 |
#define __HELPER_REGS_H__ |
22 | 22 |
|
23 | 23 |
/* Swap temporary saved registers with GPRs */ |
24 |
static always_inline void hreg_swap_gpr_tgpr (CPUPPCState *env)
|
|
24 |
static inline void hreg_swap_gpr_tgpr(CPUPPCState *env)
|
|
25 | 25 |
{ |
26 | 26 |
target_ulong tmp; |
27 | 27 |
|
... | ... | |
39 | 39 |
env->tgpr[3] = tmp; |
40 | 40 |
} |
41 | 41 |
|
42 |
static always_inline void hreg_compute_mem_idx (CPUPPCState *env)
|
|
42 |
static inline void hreg_compute_mem_idx(CPUPPCState *env)
|
|
43 | 43 |
{ |
44 | 44 |
/* Precompute MMU index */ |
45 | 45 |
if (msr_pr == 0 && msr_hv != 0) { |
... | ... | |
49 | 49 |
} |
50 | 50 |
} |
51 | 51 |
|
52 |
static always_inline void hreg_compute_hflags (CPUPPCState *env)
|
|
52 |
static inline void hreg_compute_hflags(CPUPPCState *env)
|
|
53 | 53 |
{ |
54 | 54 |
target_ulong hflags_mask; |
55 | 55 |
|
... | ... | |
64 | 64 |
env->hflags |= env->hflags_nmsr; |
65 | 65 |
} |
66 | 66 |
|
67 |
static always_inline int hreg_store_msr (CPUPPCState *env, target_ulong value,
|
|
68 |
int alter_hv)
|
|
67 |
static inline int hreg_store_msr(CPUPPCState *env, target_ulong value,
|
|
68 |
int alter_hv) |
|
69 | 69 |
{ |
70 | 70 |
int excp; |
71 | 71 |
|
Also available in: Unified diff