]> xenbits.xensource.com Git - qemu-xen.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)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Feb 2024 23:23:39 +0000 (00:23 +0100)
commit5f97afe2543f09160a8d123ab6e2e8c6d98fa9ce
treead5336130abb7c01f4ce33b6eb01ac69d7ba9551
parentd09c79010ffd880dc69e7a21e3cfdef90b928fb8
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>
target/i386/cpu.h
target/i386/tcg/sysemu/excp_helper.c