summary refs log tree commit diff stats
path: root/hw/openrisc/cputimer.c
diff options
context:
space:
mode:
authorSebastian Macke <sebastian@macke.de>2013-10-22 02:12:40 +0200
committerJia Liu <proljc@gmail.com>2013-11-20 21:45:42 +0800
commitae52bd96ceaea36c486d8ffeb798e160f31d3be8 (patch)
treebdbb70343d10e424f52e494930b0fa7aefdccd60 /hw/openrisc/cputimer.c
parent04359e6bb7f2841031aae645a770583f9c5df3cd (diff)
downloadfocaccia-qemu-ae52bd96ceaea36c486d8ffeb798e160f31d3be8.tar.gz
focaccia-qemu-ae52bd96ceaea36c486d8ffeb798e160f31d3be8.zip
target-openrisc: Correct wrong epcr register in interrupt handler
This patch corrects several misbehaviors during an interrupt process.
Most of the time the pc is already correct and therefore no special treatment
of the exceptions is necessary.

Tested by checking crashing programs which otherwise work in or1ksim.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Jia Liu <proljc@gmail.com>
Diffstat (limited to 'hw/openrisc/cputimer.c')
0 files changed, 0 insertions, 0 deletions