Re: [Qemu-devel] [PATCH 22/26] target-xtensa: implement SIMCALL

2011-05-19 Thread Richard Henderson
On 05/17/2011 03:32 PM, Max Filippov wrote: > +DEF_HELPER_0(simcall, void) > DEF_HELPER_0(dump_state, void) > > #include "def-helper.h" > diff --git a/target-xtensa/op_helper.c b/target-xtensa/op_helper.c > index 3a0fa01..b170dbe 100644 > --- a/target-xtensa/op_helper.c > +++ b/target-xtensa/op

[Qemu-devel] [PATCH 22/26] target-xtensa: implement SIMCALL

2011-05-17 Thread Max Filippov
Tensilica iss provides support for applications running in freestanding environment through SIMCALL command. It is used by Tensilica libc to access argc/argv, for file I/O, etc. Signed-off-by: Max Filippov --- RFC -> PATCH changes: - use -semihosting to implement SIMCALL; - fix user memory manipu