root / target-cris / mmu.h @ 64e58fe5
History | View | Annotate | Download (397 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 | 2fa73ec8 | Edgar E. Iglesias | struct cris_mmu_result
|
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 | 52819664 | edgar_igl | void cris_mmu_init(CPUState *env);
|
14 | cf1d97f0 | edgar_igl | void cris_mmu_flush_pid(CPUState *env, uint32_t pid);
|
15 | 2fa73ec8 | Edgar E. Iglesias | int cris_mmu_translate(struct cris_mmu_result *res, |
16 | 94cff60a | ths | CPUState *env, uint32_t vaddr, |
17 | 6ebbf390 | j_mayer | int rw, int mmu_idx); |