]> Git Repo - qemu.git/commit
target/i386: Reorg GET_HPHYS
authorRichard Henderson <[email protected]>
Sun, 2 Oct 2022 17:29:51 +0000 (10:29 -0700)
committerPaolo Bonzini <[email protected]>
Tue, 18 Oct 2022 11:58:04 +0000 (13:58 +0200)
commit9bbcf372193a2064743461aea5bf59cc83e37aa9
tree32e4a7edcd17a4a089dcdc723fb6171b0a2468a1
parent3563362ddfaefcb2866c91abed4294e3a187d6d3
target/i386: Reorg GET_HPHYS

Replace with PTE_HPHYS for the page table walk, and a direct call
to mmu_translate for the final stage2 translation.  Hoist the check
for HF2_NPT_MASK out to get_physical_address, which avoids the
recursive call when stage2 is disabled.

We can now return all the way out to x86_cpu_tlb_fill before raising
an exception, which means probe works.

Signed-off-by: Richard Henderson <[email protected]>
Message-Id: <20221002172956[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/tcg/sysemu/excp_helper.c
This page took 0.026064 seconds and 4 git commands to generate.