root / target-cris / mmu.h @ e8ee3c72
History | View | Annotate | Download (381 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 | 94cff60a | ths | uint32_t pfn; |
10 | b41f7df0 | edgar_igl | int prot;
|
11 | 786c02f1 | edgar_igl | int bf_vec;
|
12 | 94cff60a | ths | }; |
13 | 94cff60a | ths | |
14 | cf1d97f0 | edgar_igl | void cris_mmu_flush_pid(CPUState *env, uint32_t pid);
|
15 | 94cff60a | ths | int cris_mmu_translate(struct cris_mmu_result_t *res, |
16 | 94cff60a | ths | CPUState *env, uint32_t vaddr, |
17 | 6ebbf390 | j_mayer | int rw, int mmu_idx); |