diff -r ffa851df0825 -r 2fb8b9db1c86 symbian-qemu-0.9.1-12/qemu-symbian-svp/target-cris/mmu.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/symbian-qemu-0.9.1-12/qemu-symbian-svp/target-cris/mmu.h Fri Jul 31 15:01:17 2009 +0100 @@ -0,0 +1,17 @@ +#define CRIS_MMU_ERR_EXEC 0 +#define CRIS_MMU_ERR_READ 1 +#define CRIS_MMU_ERR_WRITE 2 +#define CRIS_MMU_ERR_FLUSH 3 + +struct cris_mmu_result_t +{ + uint32_t phy; + uint32_t pfn; + int prot; + int bf_vec; +}; + +void cris_mmu_flush_pid(CPUState *env, uint32_t pid); +int cris_mmu_translate(struct cris_mmu_result_t *res, + CPUState *env, uint32_t vaddr, + int rw, int mmu_idx);