altos: Be more careful about register save/restore in ao_yield
authorKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2012 23:14:33 +0000 (16:14 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 17 Jun 2012 23:14:33 +0000 (16:14 -0700)
Make sure the general registers are all saved before messing with any
of them. Then, explicitly use r0 to save/restore apsr and primask.

Signed-off-by: Keith Packard <keithp@keithp.com>

No differences found