]> 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:55:44 +0000 (19:55 +0300)
commit6332f3c12f7fc6c01fae1eaa59d661fef280f499
tree2be382116dac65089c74a1561611c6a7a16aaf1e
parente4b23890b38639107108cc0c48078fc3d3bf5a52
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