[patch] Add a dummy interrupt handler to nios2 crt0.s
Corinna Vinschen
vinschen@redhat.com
Wed Apr 3 07:35:00 GMT 2019
Hi Sandra,
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.
>
> http://lists.nongnu.org/archive/html/qemu-devel/2019-03/msg07063.html
>
> 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.
>
> OK?
Can you please send patches in `git format-patch' format?
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190403/8e7c5ddb/attachment.sig>
More information about the Newlib
mailing list