altos/lpc, altos/stm: ARM requires ISB after switching stack pointers
authorKeith Packard <keithp@keithp.com>
Tue, 8 Oct 2013 04:53:53 +0000 (21:53 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 8 Oct 2013 04:53:53 +0000 (21:53 -0700)
commit8f7edcee2db30652ce0b147f282de3396c3786ad
tree4be74830f12ad85e82eb159d7a73dc4aa0bb181f
parent4254de22864de2ed7ae5928c6b8bfd9df1c8a3fb
altos/lpc, altos/stm: ARM requires ISB after switching stack pointers

This sticks a barrier in the CPU to prevent using the wrong stack
register past the change.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_arch_funcs.h
src/stm/ao_arch_funcs.h