qemu-e2k/target/mips
Jiaxun Yang d40b55bc1b target/mips: Fix PageMask with variable page size
Our current code assumed the target page size is always 4k
when handling PageMask and VPN2, however, variable page size
was just added to mips target and that's no longer true.

Fixes: ee3863b9d4 ("target/mips: Support variable page size")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Message-Id: <1604636510-8347-2-git-send-email-chenhc@lemote.com>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[PMD: Replaced find_first_zero_bit() by cto32()]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2020-11-09 00:31:49 +01:00
..
TODO Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cp0_helper.c target/mips: Fix PageMask with variable page size 2020-11-09 00:31:49 +01:00
cp0_timer.c target/mips: Move cp0_count_ns to CPUMIPSState 2020-10-17 11:13:15 +02:00
cpu-param.h target/mips: Support variable page size 2020-06-01 13:28:21 +02:00
cpu-qom.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
cpu.c target/mips/cpu: Display warning when CPU is used without input clock 2020-10-17 13:59:40 +02:00
cpu.h target/mips: Fix PageMask with variable page size 2020-11-09 00:31:49 +01:00
dsp_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
fpu_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
gdbstub.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
helper.h target/mips: msa: Split helpers for MULV.<B|H|W|D> 2020-06-15 20:51:04 +02:00
internal.h target/mips: Move cpu_mips_get_random() with CP0 helpers 2020-10-17 11:13:15 +02:00
kvm.c hw/mips: Implement the kvm_type() hook in MachineClass 2020-06-27 19:35:39 +02:00
kvm_mips.h hw/mips: Implement the kvm_type() hook in MachineClass 2020-06-27 19:35:39 +02:00
lmmi_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
machine.c target/mips: Add more CP0 register for save/restore 2020-06-01 13:28:21 +02:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
mips-defs.h target/mips: Add comments for vendor-specific ASEs 2020-06-15 20:33:16 +02:00
mips-semi.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
msa_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
op_helper.c target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00
trace-events trace-events: Shorten file names in comments 2019-03-22 16:18:07 +00:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate.c target/mips: Add unaligned access support for MIPS64R6 and Loongson-3 2020-11-03 16:51:13 +01:00
translate_init.c.inc target/mips: Fix Lesser GPL version number 2020-11-03 16:51:13 +01:00