Revision a8170e5e target-mips/cpu.h
b/target-mips/cpu.h | ||
---|---|---|
37 | 37 |
struct CPUMIPSTLBContext { |
38 | 38 |
uint32_t nb_tlb; |
39 | 39 |
uint32_t tlb_in_use; |
40 |
int (*map_address) (struct CPUMIPSState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type);
|
|
40 |
int (*map_address) (struct CPUMIPSState *env, hwaddr *physical, int *prot, target_ulong address, int rw, int access_type);
|
|
41 | 41 |
void (*helper_tlbwi)(struct CPUMIPSState *env); |
42 | 42 |
void (*helper_tlbwr)(struct CPUMIPSState *env); |
43 | 43 |
void (*helper_tlbp)(struct CPUMIPSState *env); |
... | ... | |
479 | 479 |
#include "cpu-qom.h" |
480 | 480 |
|
481 | 481 |
#if !defined(CONFIG_USER_ONLY) |
482 |
int no_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot,
|
|
482 |
int no_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot,
|
|
483 | 483 |
target_ulong address, int rw, int access_type); |
484 |
int fixed_mmu_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot,
|
|
484 |
int fixed_mmu_map_address (CPUMIPSState *env, hwaddr *physical, int *prot,
|
|
485 | 485 |
target_ulong address, int rw, int access_type); |
486 |
int r4k_map_address (CPUMIPSState *env, target_phys_addr_t *physical, int *prot,
|
|
486 |
int r4k_map_address (CPUMIPSState *env, hwaddr *physical, int *prot,
|
|
487 | 487 |
target_ulong address, int rw, int access_type); |
488 | 488 |
void r4k_helper_tlbwi(CPUMIPSState *env); |
489 | 489 |
void r4k_helper_tlbwr(CPUMIPSState *env); |
490 | 490 |
void r4k_helper_tlbp(CPUMIPSState *env); |
491 | 491 |
void r4k_helper_tlbr(CPUMIPSState *env); |
492 | 492 |
|
493 |
void cpu_unassigned_access(CPUMIPSState *env, target_phys_addr_t addr,
|
|
493 |
void cpu_unassigned_access(CPUMIPSState *env, hwaddr addr,
|
|
494 | 494 |
int is_write, int is_exec, int unused, int size); |
495 | 495 |
#endif |
496 | 496 |
|
... | ... | |
658 | 658 |
void do_interrupt (CPUMIPSState *env); |
659 | 659 |
#if !defined(CONFIG_USER_ONLY) |
660 | 660 |
void r4k_invalidate_tlb (CPUMIPSState *env, int idx, int use_extra); |
661 |
target_phys_addr_t cpu_mips_translate_address (CPUMIPSState *env, target_ulong address,
|
|
661 |
hwaddr cpu_mips_translate_address (CPUMIPSState *env, target_ulong address,
|
|
662 | 662 |
int rw); |
663 | 663 |
#endif |
664 | 664 |
|
Also available in: Unified diff