commit | da52a4dfcc4864fd2260ec4eab331f75b1f0240b | [log] [tgz] |
---|---|---|
author | Yongbok Kim <yongbok.kim@imgtec.com> | Fri Jul 10 12:10:02 2015 +0100 |
committer | Leon Alrae <leon.alrae@imgtec.com> | Tue Jul 28 08:57:51 2015 +0100 |
tree | bce577918dafec5176ffc2debd6c7c8ea53b0d75 | |
parent | 8bcbb834a015432bfb4d09a883c21f017eadd978 [diff] |
target-mips: fix offset calculation for Interrupts 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 <yongbok.kim@imgtec.com> Reviewed-by: Leon Alrae <leon.alrae@imgtec.com> [leon.alrae@imgtec.com: cosmetic changes] Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>