| author | Gareth Stockwell <gareth.stockwell@accenture.com> |
| Fri, 24 Sep 2010 12:07:03 +0100 | |
| branch | graphics-phase-3 |
| changeset 115 | 7fc47a6656f3 |
| parent 1 | 2fb8b9db1c86 |
| permissions | -rw-r--r-- |
#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);