qemu-e2k/hw/mips
Paolo Bonzini 63fc7375d6 gt64xxx: fix decoding of ISD register
The GT64xxx's internal registers can be placed above the first 4 GiB
in the address space, but not above the first 64 GiB.  Correctly cast
the register to a 64-bit integer, and mask away bits above bit 35.

Datasheet at http://pdf.datasheetarchive.com/datasheetsmain/Datasheets-33/DSA-655889.pdf
(bug reported by Coverity).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-12-04 09:39:55 +03:00
..
Makefile.objs mips jazz: compile only in 64 bit 2015-06-11 10:13:29 +01:00
addr.c hw/mips: Add API to convert KVM guest KSEG0 <-> GPA 2014-06-18 16:58:10 +02:00
cputimer.c mips: remove muldiv64() 2015-09-25 14:54:04 +02:00
gt64xxx_pci.c gt64xxx: fix decoding of ISD register 2015-12-04 09:39:55 +03:00
mips_fulong2e.c mips: Remove ELF_MACHINE from cpu.h 2015-09-25 12:04:44 +02:00
mips_int.c hw/mips: In KVM mode, inject IRQ2 (I/O) interrupts via ioctls 2014-06-18 16:59:12 +02:00
mips_jazz.c Revert use of DEFINE_MACHINE() for registrations of multiple machines 2015-09-19 16:40:27 +02:00
mips_malta.c hw/mips_malta: Fix KVM PC initialisation 2015-10-30 13:30:14 +00:00
mips_mipssim.c mips: Remove ELF_MACHINE from cpu.h 2015-09-25 12:04:44 +02:00
mips_r4k.c mips: Remove ELF_MACHINE from cpu.h 2015-09-25 12:04:44 +02:00