]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: introduce function to query MMU indices
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Jan 2024 14:36:51 +0000 (15:36 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Thu, 21 Mar 2024 16:43:42 +0000 (19:43 +0300)
commita85b8ec8721af7a555804003d619ac8e03ed5337
treebae9de560670a3a2d4f1065842e04a3f6ada664f
parent25bdc64b62dd44013723283c805ad0b6c3c54ad4
target/i386: introduce function to query MMU indices

Remove knowledge of specific MMU indexes (other than MMU_NESTED_IDX and
MMU_PHYS_IDX) from mmu_translate().  This will make it possible to split
32-bit and 64-bit MMU indexes.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 5f97afe2543f09160a8d123ab6e2e8c6d98fa9ce)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: context fixup in target/i386/cpu.h due to other changes in that area)
target/i386/cpu.h
target/i386/tcg/sysemu/excp_helper.c