[Libre-soc-bugs] [Bug 407] XICS interrupt controller is needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Sun Jul 5 17:55:42 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=407
--- Comment #1 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
external interrupt causes trap to 0x500
irq_valid := '0';
if ctrl.msr(MSR_EE) = '1' then
if ctrl.dec(63) = '1' then
v.f.redirect_nia := std_logic_vector(to_unsigned(16#900#, 64));
report "IRQ valid: DEC";
irq_valid := '1';
elsif ext_irq_in = '1' then
v.f.redirect_nia := std_logic_vector(to_unsigned(16#500#, 64));
report "IRQ valid: External";
irq_valid := '1';
end if;
end if;
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list