]> Git Repo - qemu.git/blobdiff - target/riscv/cpu_helper.c
target/riscv: Set access as data_load when validating stage-2 PTEs
[qemu.git] / target / riscv / cpu_helper.c
index 62fe1ecc8f61fc1f78e1f9fd061a0302ac2bdc51..eda7057663e4c93f4f5f0c5b883aa61860c5e587 100644 (file)
@@ -435,7 +435,7 @@ restart:
             hwaddr vbase;
 
             /* Do the second stage translation on the base PTE address. */
-            get_physical_address(env, &vbase, &vbase_prot, base, access_type,
+            get_physical_address(env, &vbase, &vbase_prot, base, MMU_DATA_LOAD,
                                  mmu_idx, false, true);
 
             pte_addr = vbase + idx * ptesize;
This page took 0.023898 seconds and 4 git commands to generate.