]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386/tcg: Introduce x86_mmu_index_{kernel_,}pl
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Jun 2024 16:12:08 +0000 (09:12 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Jul 2024 16:18:24 +0000 (18:18 +0200)
commitfffe424b38340428f50111713c20d54b46101c7d
treefc32fcb80b0888b891c486eb091ccb709a149160
parent059368bcf589f4c6cba860516f57cec0b51c1fa1
target/i386/tcg: Introduce x86_mmu_index_{kernel_,}pl

Disconnect mmu index computation from the current pl
as stored in env->hflags.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Link: https://lore.kernel.org/r/20240617161210.4639-2-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c
target/i386/cpu.h