]> git.proxmox.com Git - qemu.git/commit
target-openrisc: Correct wrong epcr register in interrupt handler
authorSebastian Macke <sebastian@macke.de>
Tue, 22 Oct 2013 00:12:40 +0000 (02:12 +0200)
committerJia Liu <proljc@gmail.com>
Wed, 20 Nov 2013 13:45:42 +0000 (21:45 +0800)
commitae52bd96ceaea36c486d8ffeb798e160f31d3be8
treebdbb70343d10e424f52e494930b0fa7aefdccd60
parent04359e6bb7f2841031aae645a770583f9c5df3cd
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>
target-openrisc/interrupt.c