File:  [Qemu by Fabrice Bellard] / qemu / target-cris / mmu.h
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:32:01 2018 UTC (3 years, 3 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1001, qemu1000, qemu0151, qemu0150, qemu0141, qemu0140, qemu0130, HEAD
qemu 0.13.0

    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
    7: {
    8: 	uint32_t phy;
    9: 	int prot;
   10: 	int bf_vec;
   11: };
   12: 
   13: void cris_mmu_init(CPUState *env);
   14: void cris_mmu_flush_pid(CPUState *env, uint32_t pid);
   15: int cris_mmu_translate(struct cris_mmu_result *res,
   16: 		       CPUState *env, uint32_t vaddr,
   17: 		       int rw, int mmu_idx, int debug);

unix.superglobalmegacorp.com