qemu-e2k/target/xtensa
Emilio G. Cota 4e8b44b6c2 target/xtensa: avoid integer overflow in next_page PC check
If the PC is in the last page of the address space, next_page_start
overflows to 0. Fix it.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2018-05-09 10:12:21 -07:00
..
core-dc232b target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-dc233c target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-de212 target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-fsf target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-sample_controller target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
Makefile.objs target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
core-dc232b.c target/xtensa: fix timers test 2018-03-26 14:17:04 -07:00
core-dc233c.c target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-de212.c target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-fsf.c target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
core-sample_controller.c target/xtensa: add .inc. to non-top level source file names 2018-03-26 14:17:03 -07:00
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-19 14:10:36 -03:00
gdbstub.c target/xtensa: use correct number of registers in gdbstub 2018-03-13 11:30:22 -07:00
helper.c target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
helper.h target/xtensa: add linux-user support 2018-03-16 09:40:34 -07:00
import_core.sh target/xtensa/import_core.sh: fix #include <xtensa-isa.h> 2018-03-26 14:17:03 -07:00
monitor.c monitor: Fix crashes when using HMP commands without CPU 2017-02-21 18:29:01 +00:00
op_helper.c icount: fix cpu_restore_state_from_tb for non-tb-exit cases 2018-04-11 09:05:22 +10:00
overlay_tool.h target/xtensa: use correct number of registers in gdbstub 2018-03-13 11:30:22 -07:00
translate.c target/xtensa: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
xtensa-isa-internal.h target/xtensa: import libisa source 2017-12-18 21:26:19 -08:00
xtensa-isa.c Clean up includes 2018-02-09 05:05:11 +01:00
xtensa-isa.h Use #include "..." for our own headers, <...> for others 2018-02-09 05:05:11 +01:00
xtensa-semi.c char: add backend hotswap handler 2017-07-14 11:04:33 +02:00