Statistics
| Branch: | Revision:

root / target-cris / mmu.h @ 786c02f1

History | View | Annotate | Download (389 Bytes)

1
#define CRIS_MMU_ERR_EXEC  0
2
#define CRIS_MMU_ERR_READ  1
3
#define CRIS_MMU_ERR_WRITE 2
4
#define CRIS_MMU_ERR_FLUSH 3
5

    
6
struct cris_mmu_result_t
7
{
8
        uint32_t phy;
9
        uint32_t pfn;
10
        int bf_vec;
11
};
12

    
13
target_ulong cris_mmu_tlb_latest_update(CPUState *env, uint32_t new_lo);
14
int cris_mmu_translate(struct cris_mmu_result_t *res,
15
                       CPUState *env, uint32_t vaddr,
16
                       int rw, int mmu_idx);