tcg/arm: Use tcg_out_mov_reg rather than inline equivalent code
[qemu/pbrook.git] / target-cris / mmu.h
blob8e249e812b7a5333f3e07e83741be1d7ebd1668a
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
8 uint32_t phy;
9 int prot;
10 int bf_vec;
13 void cris_mmu_init(CPUCRISState *env);
14 void cris_mmu_flush_pid(CPUCRISState *env, uint32_t pid);
15 int cris_mmu_translate(struct cris_mmu_result *res,
16 CPUCRISState *env, uint32_t vaddr,
17 int rw, int mmu_idx, int debug);