On 6/24/21 1:21 PM, Bruno Larsen (billionai) wrote:
-static int ppc_hash32_pte_prot(PowerPCCPU *cpu, +static int ppc_hash32_pte_prot(PowerPCCPU *cpu, int mmu_idx, target_ulong sr, ppc_hash_pte32_t pte) { - CPUPPCState *env = &cpu->env; unsigned pp, key;
cpu argument is no longer used.You seem to have missed the msr_pr uses in hash32_bat_size and hash32_bat_601_prot, which also do not use cpu with the mmu_idx replacement.
r~