diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-23 09:04:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-05-27 12:49:13 +0200 |
commit | 18e1e5bbf11e637c7aa40ac12e4e9bd109df677b (patch) | |
tree | d2ac9617407fff20c60ce11b26d849d25d5f427c /cpukit/score/cpu/arm/rtems/score/arm.h | |
parent | dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCE (diff) | |
download | rtems-18e1e5bbf11e637c7aa40ac12e4e9bd109df677b.tar.bz2 |
arm: Fix CPSR and SPSR access
The GNU assembler translates for example a
msr spsr, rN
into
msr SPSR_fc, rN
This would update only a subset of the register and leads to an
incomplete exceptions restore sequence resulting in system corruption.
Correct is this:
msr SPSR_fsxc, rN
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/arm.h')
0 files changed, 0 insertions, 0 deletions