diff options
author | Peter Maydell | 2015-09-07 11:39:28 +0200 |
---|---|---|
committer | Peter Maydell | 2015-09-07 11:39:28 +0200 |
commit | faacc041619581c566c21ed87aa1933420731282 (patch) | |
tree | f29baeddbbf71d2b6b7a9906045e87ea09d03ce6 /target-arm/cpu.h | |
parent | include/exec/softmmu-semi.h: Add support for 64-bit values (diff) | |
download | qemu-faacc041619581c566c21ed87aa1933420731282.tar.gz qemu-faacc041619581c566c21ed87aa1933420731282.tar.xz qemu-faacc041619581c566c21ed87aa1933420731282.zip |
target-arm/arm-semi.c: Support widening APIs to 64 bits
The 64-bit A64 semihosting API has some pervasive changes from
the 32-bit version:
* all parameter blocks are arrays of 64-bit values, not 32-bit
* the semihosting call number is passed in W0
* the return value is a 64-bit value in X0
Implement the necessary handling for this widening.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Christopher Covington <christopher.covington@linaro.org>
Tested-by: Christopher Covington <cov@codeaurora.org>
Message-id: 1439483745-28752-7-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/cpu.h')
-rw-r--r-- | target-arm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 31825d34a1..0a2533543f 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -504,7 +504,7 @@ typedef struct CPUARMState { ARMCPU *cpu_arm_init(const char *cpu_model); int cpu_arm_exec(CPUState *cpu); -uint32_t do_arm_semihosting(CPUARMState *env); +target_ulong do_arm_semihosting(CPUARMState *env); void aarch64_sync_32_to_64(CPUARMState *env); void aarch64_sync_64_to_32(CPUARMState *env); |