Revision 69577857
b/target-ppc/kvm_ppc.h | ||
---|---|---|
11 | 11 |
|
12 | 12 |
void kvmppc_init(void); |
13 | 13 |
void kvmppc_fdt_update(void *fdt); |
14 |
#ifndef CONFIG_KVM |
|
15 |
static inline int kvmppc_read_host_property(const char *node_path, const char *prop, |
|
16 |
void *val, size_t len) |
|
17 |
{ |
|
18 |
assert(0); |
|
19 |
return -ENOSYS; |
|
20 |
} |
|
21 |
#else |
|
14 | 22 |
int kvmppc_read_host_property(const char *node_path, const char *prop, |
15 | 23 |
void *val, size_t len); |
24 |
#endif |
|
16 | 25 |
|
17 | 26 |
uint32_t kvmppc_get_tbfreq(void); |
18 | 27 |
int kvmppc_get_hypercall(CPUState *env, uint8_t *buf, int buf_len); |
Also available in: Unified diff