5281966437
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6463 c046a42c-6fe2-441c-8c8c-71466251a162
18 lines
401 B
C
18 lines
401 B
C
#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;
|
|
int prot;
|
|
int bf_vec;
|
|
};
|
|
|
|
void cris_mmu_init(CPUState *env);
|
|
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);
|