This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Add a dummy interrupt handler to nios2 crt0.s


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

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]