diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2011-09-06 03:55:47 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-09-10 16:57:39 +0000 |
commit | 1ddeaa5d4277af76679d02bc59b08657c357aee6 (patch) | |
tree | c0641b7c4feaf2633c5bd99cd61138f11d54f19d /target-xtensa/helpers.h | |
parent | 5b4e481b041150fbc6eaef6205095077893a3781 (diff) | |
download | hqemu-1ddeaa5d4277af76679d02bc59b08657c357aee6.zip hqemu-1ddeaa5d4277af76679d02bc59b08657c357aee6.tar.gz |
target-xtensa: implement SIMCALL
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.
Note that simcalls that accept buffer addresses expect virtual addresses.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-xtensa/helpers.h')
-rw-r--r-- | target-xtensa/helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-xtensa/helpers.h b/target-xtensa/helpers.h index b318c5a..6e02d26 100644 --- a/target-xtensa/helpers.h +++ b/target-xtensa/helpers.h @@ -14,6 +14,7 @@ DEF_HELPER_0(restore_owb, void) DEF_HELPER_1(movsp, void, i32) DEF_HELPER_1(wsr_lbeg, void, i32) DEF_HELPER_1(wsr_lend, void, i32) +DEF_HELPER_1(simcall, void, env) DEF_HELPER_0(dump_state, void) #include "def-helper.h" |