qemu-e2k/target-xtensa
Max Filippov 1b3e71f8ee target-xtensa: add missing window check for entry
Entry opcode needs to check if moving to new register frame would cause
register window overflow. Entry used in function prologue never
overflows because preceding windowed call* opcode writes return address
to the target register window frame, causing overflow exceptions at the
point of call. But when a sequence of entry opcodes is used for register
window spilling there may not be a call or other opcode that would cause
window check between entries and they would not raise overflow exception
themselves resulting in data corruption.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2014-11-10 17:59:13 +03:00
..
core-dc232b
core-dc233c
core-fsf
core-dc232b.c target-xtensa: mark XtensaConfig structs as unused 2014-11-02 10:04:34 +03:00
core-dc233c.c target-xtensa: mark XtensaConfig structs as unused 2014-11-02 10:04:34 +03:00
core-fsf.c target-xtensa: mark XtensaConfig structs as unused 2014-11-02 10:04:34 +03:00
cpu-qom.h target-xtensa: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
cpu.c gdbstub: Allow target CPUs to specify watchpoint STOP_BEFORE_ACCESS flag 2014-10-06 14:25:43 +01:00
cpu.h target-xtensa: add missing window check for entry 2014-11-10 17:59:13 +03:00
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.c target-xtensa: Use cpu_exec_interrupt qom hook 2014-09-25 18:54:21 +01:00
helper.h tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00
import_core.sh target-xtensa: add core importing script 2014-11-03 01:00:37 +03:00
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
op_helper.c target-xtensa: add missing window check for entry 2014-11-10 17:59:13 +03:00
overlay_tool.h target-xtensa: fix build for cores w/o windowed registers 2014-11-03 01:00:37 +03:00
translate.c trace: [tcg] Include TCG-tracing header on all targets 2014-08-12 14:26:12 +01:00
xtensa-semi.c tcg: Invert the inclusion of helper.h 2014-05-28 09:33:54 -07:00