diff options
author | Yongbok Kim <yongbok.kim@imgtec.com> | 2015-07-10 12:10:02 +0100 |
---|---|---|
committer | Leon Alrae <leon.alrae@imgtec.com> | 2015-07-28 08:57:51 +0100 |
commit | da52a4dfcc4864fd2260ec4eab331f75b1f0240b (patch) | |
tree | bce577918dafec5176ffc2debd6c7c8ea53b0d75 /hw/net/dp8393x.c | |
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>
Diffstat (limited to 'hw/net/dp8393x.c')
0 files changed, 0 insertions, 0 deletions