Re: [Qemu-devel] [PATCH] target-mips: fix offset calculation for Interrupts

2015-07-24 Thread Leon Alrae
On 10/07/2015 12:10, Yongbok Kim wrote: > Correct computation of vector offsets for EXCP_EXT_INTERRUPT. > For instance, if Cause.IV is 0 the vector offset should be 0x180. > > Simplify the finding vector number logic for the Vectored Interrupts. I think this message would be much better if it was

[Qemu-devel] [PATCH] target-mips: fix offset calculation for Interrupts

2015-07-10 Thread Yongbok Kim
Correct computation of vector offsets for EXCP_EXT_INTERRUPT. For instance, if Cause.IV is 0 the vector offset should be 0x180. Simplify the finding vector number logic for the Vectored Interrupts. Signed-off-by: Yongbok Kim --- target-mips/helper.c| 47 ++-