diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-01-02 15:40:18 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-02-28 00:23:39 +0100 |
commit | 90f641531c782c873a05895f411c05fbbbef3c49 (patch) | |
tree | d2cd3320f85604ac5ef9f03fad94edddccaacb24 /scripts/qapi/parser.py | |
parent | 5f97afe2543f09160a8d123ab6e2e8c6d98fa9ce (diff) | |
download | qemu-90f641531c782c873a05895f411c05fbbbef3c49.zip qemu-90f641531c782c873a05895f411c05fbbbef3c49.tar.gz qemu-90f641531c782c873a05895f411c05fbbbef3c49.tar.bz2 |
target/i386: use separate MMU indexes for 32-bit accesses
Accesses from a 32-bit environment (32-bit code segment for instruction
accesses, EFER.LMA==0 for processor accesses) have to mask away the
upper 32 bits of the address. While a bit wasteful, the easiest way
to do so is to use separate MMU indexes. These days, QEMU anyway is
compiled with a fixed value for NB_MMU_MODES. Split MMU_USER_IDX,
MMU_KSMAP_IDX and MMU_KNOSMAP_IDX in two.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions