diff options
author | 2014-06-17 23:10:30 +0100 | |
---|---|---|
committer | 2014-06-18 16:58:37 +0200 | |
commit | 4ef37e6907eaeeec3e0425b9e51a4b3918c194c7 (patch) | |
tree | 05a71a9892c20ccebcc6febecf939d85b170f42f /scripts/qapi-visit.py | |
parent | target-mips: get_physical_address: Add defines for segment bases (diff) | |
download | qemu-4ef37e6907eaeeec3e0425b9e51a4b3918c194c7.tar.xz qemu-4ef37e6907eaeeec3e0425b9e51a4b3918c194c7.zip |
target-mips: get_physical_address: Add KVM awareness
MIPS KVM trap & emulate mode (which is currently the only supported
mode) has to add an extra kseg0/kseg1 at 0x40000000 and an extra
kseg2/kseg3 at 0x60000000. Take this into account in
get_physical_address() so that debug memory access works.
This is done by translating the address to a standard kseg0 or kseg2
address before doing the normal address translation. The real virtual
address is still used for TLB lookups.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions