MMU_ITLB_MULTIPLE, MMU_ITLB_VIOLATION,
MMU_IADDR_ERROR, MMU_DADDR_ERROR_READ, MMU_DADDR_ERROR_WRITE.
*/
-static int get_mmu_address(CPUSH4State * env, target_ulong * physical,
+static int get_mmu_address(CPUSH4State *env, hwaddr *physical,
int *prot, target_ulong address,
MMUAccessType access_type)
{
return n;
}
-static int get_physical_address(CPUSH4State * env, target_ulong * physical,
+static int get_physical_address(CPUSH4State *env, hwaddr* physical,
int *prot, target_ulong address,
MMUAccessType access_type)
{
hwaddr superh_cpu_get_phys_page_debug(CPUState *cs, vaddr addr)
{
- target_ulong physical;
+ hwaddr physical;
int prot;
if (get_physical_address(cpu_env(cs), &physical, &prot, addr, MMU_DATA_LOAD)
CPUSH4State *env = cpu_env(cs);
int ret;
- target_ulong physical;
+ hwaddr physical;
int prot;
ret = get_physical_address(env, &physical, &prot, address, access_type);