root / target-cris / mmu.h @ 79f85c3a
History | View | Annotate | Download (366 Bytes)
1 | 94cff60a | ths | #define CRIS_MMU_ERR_EXEC 0 |
---|---|---|---|
2 | 94cff60a | ths | #define CRIS_MMU_ERR_READ 1 |
3 | 94cff60a | ths | #define CRIS_MMU_ERR_WRITE 2 |
4 | 94cff60a | ths | #define CRIS_MMU_ERR_FLUSH 3 |
5 | 94cff60a | ths | |
6 | 94cff60a | ths | struct cris_mmu_result_t
|
7 | 94cff60a | ths | { |
8 | 94cff60a | ths | uint32_t phy; |
9 | b41f7df0 | edgar_igl | int prot;
|
10 | 786c02f1 | edgar_igl | int bf_vec;
|
11 | 94cff60a | ths | }; |
12 | 94cff60a | ths | |
13 | cf1d97f0 | edgar_igl | void cris_mmu_flush_pid(CPUState *env, uint32_t pid);
|
14 | 94cff60a | ths | int cris_mmu_translate(struct cris_mmu_result_t *res, |
15 | 94cff60a | ths | CPUState *env, uint32_t vaddr, |
16 | 6ebbf390 | j_mayer | int rw, int mmu_idx); |