diff options
Diffstat (limited to 'target-ppc/kvm_ppc.h')
-rw-r--r-- | target-ppc/kvm_ppc.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target-ppc/kvm_ppc.h b/target-ppc/kvm_ppc.h index f9c0198311..8f1267c6cc 100644 --- a/target-ppc/kvm_ppc.h +++ b/target-ppc/kvm_ppc.h @@ -19,9 +19,9 @@ uint32_t kvmppc_get_tbfreq(void); uint64_t kvmppc_get_clockfreq(void); uint32_t kvmppc_get_vmx(void); uint32_t kvmppc_get_dfp(void); -int kvmppc_get_hypercall(CPUState *env, uint8_t *buf, int buf_len); -int kvmppc_set_interrupt(CPUState *env, int irq, int level); -void kvmppc_set_papr(CPUState *env); +int kvmppc_get_hypercall(CPUPPCState *env, uint8_t *buf, int buf_len); +int kvmppc_set_interrupt(CPUPPCState *env, int irq, int level); +void kvmppc_set_papr(CPUPPCState *env); int kvmppc_smt_threads(void); #ifndef CONFIG_USER_ONLY off_t kvmppc_alloc_rma(const char *name, MemoryRegion *sysmem); @@ -52,17 +52,17 @@ static inline uint32_t kvmppc_get_dfp(void) return 0; } -static inline int kvmppc_get_hypercall(CPUState *env, uint8_t *buf, int buf_len) +static inline int kvmppc_get_hypercall(CPUPPCState *env, uint8_t *buf, int buf_len) { return -1; } -static inline int kvmppc_set_interrupt(CPUState *env, int irq, int level) +static inline int kvmppc_set_interrupt(CPUPPCState *env, int irq, int level) { return -1; } -static inline void kvmppc_set_papr(CPUState *env) +static inline void kvmppc_set_papr(CPUPPCState *env) { } |