xtensa: ISS: define simc_exit and use it instead of inline asm
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 21 Sep 2016 00:26:48 +0000 (17:26 -0700)
committerMax Filippov <jcmvbkbc@gmail.com>
Wed, 21 Sep 2016 01:53:00 +0000 (18:53 -0700)
commitfeec273a2b4d98f8aa76c5d83f24053b211c8525
tree59bc19ae3b576e5300fe542690ffe87fce9013cd
parent70feca7199647dd548536d7e6b55a742053e6839
xtensa: ISS: define simc_exit and use it instead of inline asm

A number of ISS platform functions use inline assembly to invoke
simulator exit, not all correctly. Define simc_exit(exit_code) and use
it instead of inline assembly.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/platforms/iss/include/platform/simcall.h
arch/xtensa/platforms/iss/setup.c