target/xtensa: fix semihosting argc/argv implementation
commitf289bb091e6876df2e0e3481cb414c277695a405
authorMax Filippov <jcmvbkbc@gmail.com>
Sat, 11 Mar 2017 19:24:45 +0000 (11 11:24 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Sat, 11 Mar 2017 22:59:03 +0000 (11 14:59 -0800)
tree1c983a52bd3f3a57894b45ba9becd685021574a2
parent0e80359e6285e094eaf1e403835c12081faef535
target/xtensa: fix semihosting argc/argv implementation

So far xtensa provides fixed dummy argc/argv for the corresponding
semihosting calls. Now that there are semihosting_get_argc and
semihosting_get_arg, use them to pass actual command line arguments
to guest.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target/xtensa/xtensa-semi.c