unicorn/qemu/target/mips
James Hogan 7cf1a4276e
mips: Improve segment defs for KVM T&E guests
Improve the segment definitions used by get_physical_address() to yield
target_ulong types, e.g. 0xffffffff80000000 instead of 0x80000000. This
is in preparation for enabling emulation of MIPS KVM T&E segments in TCG
MIPS targets, which unlike KVM could potentially have 64-bit
target_ulong. In such a case the offset guest KSEG0 address ends up at
e.g. 0x000000008xxxxxxx instead of 0xffffffff8xxxxxxx.

This also allows the casts to int32_t that force sign extension to be
removed, which removes any confusion due to relational comparison of
unsigned (target_ulong) and signed (int32_t) types.

Backports commit 6743334568933199927af4992a04bfb3c30610f5 from qemu
2018-03-04 01:26:42 -05:00
..
cpu-qom.h
cpu.c
cpu.h target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
dsp_helper.c
helper.c mips: Improve segment defs for KVM T&E guests 2018-03-04 01:26:42 -05:00
helper.h target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
lmi_helper.c
Makefile.objs
mips-defs.h
msa_helper.c
op_helper.c target/mips: Add segmentation control registers 2018-03-04 01:00:42 -05:00
TODO
translate_init.c target/mips: Enable CP0_EBase.WG on MIPS64 CPUs 2018-03-04 01:09:47 -05:00
translate.c target-mips: Don't stop on [d]mtc0 DESAVE/KScratch 2018-03-04 01:25:27 -05:00
unicorn.c
unicorn.h