qemu-e2k/target/unicore32
Emilio G. Cota 818c187781 target/unicore32: 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>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
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
..
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c target/*/cpu.h: remove softfloat.h 2018-02-21 10:20:24 +00:00
cpu.h cpu: get rid of unused cpu_init() defines 2018-03-19 14:10:36 -03:00
helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
helper.h target-unicore32: Use clz opcode 2017-01-10 08:06:11 -08:00
Makefile.objs ui/curses: build as module 2018-03-05 08:44:11 +01:00
op_helper.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
softmmu.c accel/tcg: add size paremeter in tlb_fill() 2018-01-25 16:02:24 +01:00
translate.c target/unicore32: avoid integer overflow in next_page PC check 2018-05-09 10:12:21 -07:00
ucf64_helper.c target/*/cpu.h: remove softfloat.h 2018-02-21 10:20:24 +00:00