From: Keith Packard Date: Sun, 17 Jun 2012 23:14:33 +0000 (-0700) Subject: altos: Be more careful about register save/restore in ao_yield X-Git-Tag: 1.0.9.6~62 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1a294852b3607947f0f86bf236785456d8719e5f;hp=1a294852b3607947f0f86bf236785456d8719e5f;p=fw%2Faltos altos: Be more careful about register save/restore in ao_yield 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 ---