On 05/18/2018 10:19 PM, Julian Brown wrote: > On Fri, 18 May 2018 21:52:04 +0200 > Marek Vasut <ma...@denx.de> wrote: > >> On 05/18/2018 09:23 PM, Julian Brown wrote: >>> This patch (by Sandra Loosemore, mildly rebased) adds support for >>> semihosting for Nios II bare-metal emulation. >>> >>> Signed-off-by: Julian Brown <jul...@codesourcery.com> >>> Signed-off-by: Sandra Loosemore <san...@codesourcery.com> >> >> Is there some documentation for this stuff ? It looks interesting, but >> how can I try it here ? > > There's no documentation AFAIK apart from that the entry points are > the same as m68k, semihosting is invoked with "break 1", and r4/r5 are > used for passing arguments.
So, how is anyone supposed to test this if it's shrouded in mystery ? > I'm not actually sure how you can try this > stuff without our startup code or other infrastructure (that I'm pretty > sure we can't divulge). Sandra, any ideas? So what use is this code in mainline QEMU then ? -- Best regards, Marek Vasut