diff options
| author | Peter Maydell | 2016-02-23 16:36:43 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-02-26 16:09:41 +0100 |
| commit | 50866ba5a2cfe922aaf3edb79f6eac5b0653477a (patch) | |
| tree | 39acd126ce238393135ebce39ea3ef42560ce58e /linux-user/arm | |
| parent | target-arm: Give CPSR setting on 32-bit exception return its own helper (diff) | |
| download | qemu-50866ba5a2cfe922aaf3edb79f6eac5b0653477a.tar.gz qemu-50866ba5a2cfe922aaf3edb79f6eac5b0653477a.tar.xz qemu-50866ba5a2cfe922aaf3edb79f6eac5b0653477a.zip | |
target-arm: Add write_type argument to cpsr_write()
Add an argument to cpsr_write() to indicate what kind of CPSR
write is being requested, since the exact behaviour should
differ for the different cases.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com>
Message-id: 1455556977-3644-3-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/arm')
| -rw-r--r-- | linux-user/arm/nwfpe/fpa11.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm/nwfpe/fpa11.h b/linux-user/arm/nwfpe/fpa11.h index 7e114eee8a..0b072843da 100644 --- a/linux-user/arm/nwfpe/fpa11.h +++ b/linux-user/arm/nwfpe/fpa11.h @@ -105,7 +105,7 @@ static inline void writeRegister(unsigned int x, unsigned int y) static inline void writeConditionCodes(unsigned int x) { - cpsr_write(user_registers,x,CPSR_NZCV); + cpsr_write(user_registers, x, CPSR_NZCV, CPSRWriteByInstr); } #define ARM_REG_PC 15 |
