Go to the source code of this file.
Functions | |
int | ppc_bat (struct cpu *cpu, uint64_t vaddr, uint64_t *return_paddr, int flags, int user) |
int | ppc_translate_v2p (struct cpu *cpu, uint64_t vaddr, uint64_t *return_paddr, int flags) |
int ppc_bat | ( | struct cpu * | cpu, |
uint64_t | vaddr, | ||
uint64_t * | return_paddr, | ||
int | flags, | ||
int | user | ||
) |
Definition at line 38 of file memory_ppc.cc.
References BAT_BL, BAT_EPI, BAT_PP, BAT_PP_NONE, BAT_PP_RO, BAT_PP_RO_S, BAT_RPN, BAT_Vs, BAT_Vu, ppc_cpu::bits, cpu::cd, ppc_cpu::cpu_type, fatal(), FLAG_INSTR, FLAG_WRITEFLAG, ppc_cpu_type_def::flags, cpu::ppc, PPC_601, ppc_cpu::spr, and SPR_IBAT0U.
Referenced by ppc_translate_v2p().
int ppc_translate_v2p | ( | struct cpu * | cpu, |
uint64_t | vaddr, | ||
uint64_t * | return_paddr, | ||
int | flags | ||
) |
Definition at line 215 of file memory_ppc.cc.
References ppc_cpu::bits, cpu::cd, ppc_cpu::cpu_type, fatal(), FLAG_INSTR, FLAG_WRITEFLAG, ppc_cpu_type_def::flags, instr, cpu::ppc, PPC_601, ppc_bat(), PPC_MSR_DR, PPC_MSR_IR, PPC_MSR_PR, and reg_access_msr().
Referenced by ppc_cpu_new().