Revision 7f763a5d target-ppc/kvm_ppc.h
b/target-ppc/kvm_ppc.h | ||
---|---|---|
27 | 27 |
off_t kvmppc_alloc_rma(const char *name, MemoryRegion *sysmem); |
28 | 28 |
void *kvmppc_create_spapr_tce(uint32_t liobn, uint32_t window_size, int *pfd); |
29 | 29 |
int kvmppc_remove_spapr_tce(void *table, int pfd, uint32_t window_size); |
30 |
int kvmppc_reset_htab(int shift_hint); |
|
31 |
uint64_t kvmppc_rma_size(uint64_t current_size, unsigned int hash_shift); |
|
30 | 32 |
#endif /* !CONFIG_USER_ONLY */ |
31 | 33 |
const ppc_def_t *kvmppc_host_cpu_def(void); |
32 | 34 |
int kvmppc_fixup_cpu(CPUPPCState *env); |
... | ... | |
94 | 96 |
{ |
95 | 97 |
return -1; |
96 | 98 |
} |
99 |
|
|
100 |
static inline int kvmppc_reset_htab(int shift_hint) |
|
101 |
{ |
|
102 |
return -1; |
|
103 |
} |
|
104 |
|
|
105 |
static inline uint64_t kvmppc_rma_size(uint64_t current_size, |
|
106 |
unsigned int hash_shift) |
|
107 |
{ |
|
108 |
return ram_size; |
|
109 |
} |
|
110 |
|
|
111 |
static inline int kvmppc_update_sdr1(CPUPPCState *env) |
|
112 |
{ |
|
113 |
return 0; |
|
114 |
} |
|
115 |
|
|
97 | 116 |
#endif /* !CONFIG_USER_ONLY */ |
98 | 117 |
|
99 | 118 |
static inline const ppc_def_t *kvmppc_host_cpu_def(void) |
Also available in: Unified diff