kvm: qemu: report paravirt features on cpuid
[kvm-userspace.git] / qemu / target-cris / mmu.h
blob519c0fc819aed89cc98513e0a5ccd0b5f402646e
1 #define CRIS_MMU_ERR_EXEC 0
2 #define CRIS_MMU_ERR_READ 1
3 #define CRIS_MMU_ERR_WRITE 2
4 #define CRIS_MMU_ERR_FLUSH 3
6 struct cris_mmu_result_t
8 uint32_t phy;
9 uint32_t pfn;
10 int g:1;
11 int v:1;
12 int k:1;
13 int w:1;
14 int e:1;
15 int cause_op;
18 int cris_mmu_translate(struct cris_mmu_result_t *res,
19 CPUState *env, uint32_t vaddr,
20 int rw, int mmu_idx);