[patch] Add a dummy interrupt handler to nios2 crt0.s
Wed Apr 3 07:35:00 GMT 2019
On Apr 2 14:01, Sandra Loosemore wrote:
> The attached patch addresses another request from the QEMU maintainers in my
> quest to get the nios2 bare-metal support patches committed there: the
> corresponding libgloss BSP needs to provide an interrupt handler so the QEMU
> emulation can point at it.
> I added a dummy routine and placed it immediately after the 32-byte reset
> vector. This matches where the real hardware (a 3c120 board) we've also
> used for testing expects to find the interrupt handler.
> The dummy handler busy-waits in a loop, which is not terribly useful by
> itself, but you could set a breakpoint on it in the debugger, at least.
Can you please send patches in `git format-patch' format?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the Newlib