Validate virtio-net TX header
[qemu-kvm/fedora.git] / target-cris / mmu.h
blob1d6d33f3ab42921b47606e7e3b7bb0a5735bde51
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 prot;
11 int bf_vec;
14 target_ulong cris_mmu_tlb_latest_update(CPUState *env);
15 int cris_mmu_translate(struct cris_mmu_result_t *res,
16 CPUState *env, uint32_t vaddr,
17 int rw, int mmu_idx);