|
| From: | Richard Henderson |
| Subject: | Re: [PATCH v3 2/3] target/ppc: change ppc_hash32_xlate to use mmu_idx |
| Date: | Fri, 25 Jun 2021 22:49:22 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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~
| [Prev in Thread] | Current Thread | [Next in Thread] |