Martin Stein 60a7fe5586 hw & arm: write whole SPSR in mode transition
Previously we did write the SPSR via an MSR instruction without
additional flags. Unfortunately, this tells the CPU to write the
register only partially. This often isn't a problem as the users PSR
reset value normally is conform to our expectations but in some cases
(e.g. PSR endianess bit on WandBoard core ) the reset value is bad.
Thus, we have to add the CXSF flags (access Control + eXtension + Status
+ Flags) so the CPU overwrites the entire register.

Fixes 
2017-05-31 13:16:08 +02:00
..
2017-05-02 15:28:53 +02:00
2017-05-02 15:28:53 +02:00
2017-05-31 13:15:56 +02:00