1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-19 19:43:52 +01:00
RIOT/cpu/msp430-common
Kaspar Schleiser c122571801 cpu: msp430-common: fix context save/restore
Previously, __restore_context was meddling with the to-be-restored
context SR on the stack, not correctly restoring GIE.
Now, we let the CPU restore the correct status register as saved in
__save_context.

Contains some simplification of the context save/restore logic.
2015-09-22 10:43:27 +02:00
..
2015-08-05 19:43:51 +02:00
2015-09-12 12:43:15 +02:00