diff options
author | Max Filippov | 2017-01-25 19:54:11 +0100 |
---|---|---|
committer | Max Filippov | 2018-03-16 17:40:34 +0100 |
commit | ba7651fba54199e5dedbbd08157687291b9dbae3 (patch) | |
tree | f03b970e3cfdfde9040ff14c59dc0bf3acfb6fe3 /linux-user/syscall.c | |
parent | linux-user: drop unused target_msync function (diff) | |
download | qemu-ba7651fba54199e5dedbbd08157687291b9dbae3.tar.gz qemu-ba7651fba54199e5dedbbd08157687291b9dbae3.tar.xz qemu-ba7651fba54199e5dedbbd08157687291b9dbae3.zip |
target/xtensa: add linux-user support
Import list of syscalls from the kernel source. Conditionalize code/data
that is only used with softmmu. Implement exception handlers. Implement
signal hander (only the core registers for now, no coprocessors or TIE).
Cc: Riku Voipio <riku.voipio@iki.fi>
Cc: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 19d5445c31..e864a1d72a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -709,6 +709,8 @@ static inline int regpairs_aligned(void *cpu_env, int num) return 0; } } +#elif defined(TARGET_XTENSA) +static inline int regpairs_aligned(void *cpu_env, int num) { return 1; } #else static inline int regpairs_aligned(void *cpu_env, int num) { return 0; } #endif |