| * Copyright 2008 IBM Corporation. |
| * Authors: Hollis Blanchard <hollisb@us.ibm.com> |
| * This work is licensed under the GNU GPL license version 2 or later. |
| void kvmppc_fdt_update(void *fdt); |
| static inline int kvmppc_read_host_property(const char *node_path, const char *prop, |
| int kvmppc_read_host_property(const char *node_path, const char *prop, |
| uint32_t kvmppc_get_tbfreq(void); |
| int kvmppc_get_hypercall(CPUState *env, uint8_t *buf, int buf_len); |
| int kvmppc_set_interrupt(CPUState *env, int irq, int level); |
| #define kvmppc_eieio() do { } while (0) |
| asm volatile("eieio" : : : "memory"); \ |
| #ifndef KVM_INTERRUPT_SET |
| #define KVM_INTERRUPT_SET -1 |
| #ifndef KVM_INTERRUPT_UNSET |
| #define KVM_INTERRUPT_UNSET -2 |
| #ifndef KVM_INTERRUPT_SET_LEVEL |
| #define KVM_INTERRUPT_SET_LEVEL -3 |
| #endif /* __KVM_PPC_H__ */ |