hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address, int rw)

{

    hwaddr physical;

    int prot;

    int access_type;

    int ret = 0;



    /* data access */

    access_type = ACCESS_INT;

    ret = get_physical_address(env, &physical, &prot,

                               address, rw, access_type);

    if (ret != TLBRET_MATCH) {

        raise_mmu_exception(env, address, rw, ret);

        return -1LL;

    } else {

        return physical;

    }

}

hwaddr cpu_mips_translate_address(CPUMIPSState *env, target_ulong address, int rw)

{

    hwaddr physical;

    int prot;

    int access_type;

    int ret = 0;



    

    access_type = ACCESS_INT;

    ret = get_physical_address(env, &physical, &prot,

                               address, rw, access_type);

    if (ret != TLBRET_MATCH) {

        raise_mmu_exception(env, address, rw, ret);

        return -1LL;

    } else {

        return physical;

    }

}

                               address, rw, access_type);     ret = get_physical_address(env, &physical, &prot,                                address, rw, access_type);
hwaddr FUNC_0(CPUMIPSState *env, target_ulong address, int rw)

{

    hwaddr physical;

    int VAR_0;

    int VAR_1;

    int VAR_2 = 0;



    

    VAR_1 = ACCESS_INT;

    VAR_2 = get_physical_address(env, &physical, &VAR_0,

                               address, rw, VAR_1);

    if (VAR_2 != TLBRET_MATCH) {

        raise_mmu_exception(env, address, rw, VAR_2);

        return -1LL;

    } else {

        return physical;

    }

}

hwaddr FUNC_0(CPUMIPSState *env, target_ulong address, int rw)
{ hwaddr physical; int VAR_0; int VAR_1; int VAR_2 = 0; VAR_1 = ACCESS_INT; VAR_2 = get_physical_address(env, &physical, &VAR_0,
address, rw, VAR_1); if (VAR_2 != TLBRET_MATCH) { raise_mmu_exception(env, address, rw, VAR_2); return -1LL; } else { return physical; } }