altos/stm: Use basepri instead of primask for controlling interrupts
authorKeith Packard <keithp@keithp.com>
Sun, 20 Nov 2016 10:59:40 +0000 (02:59 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 21 Nov 2016 04:48:40 +0000 (20:48 -0800)
commit552ea09fe7f9ce6c6b5f412cb2fcf603be2836c3
treec4bd3f12dae197ee286f4c291f55241fe10d6510
parentfd05d495b463685d81e75115a93fdda2764c7113
altos/stm: Use basepri instead of primask for controlling interrupts

This allows for high priority interrupts (priority 0) to run, even
when other interrupts are blocked. Code executing in such interrupt
handlers must not attempt to control task execution as that will race
with the scheduler.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_vga.c
src/stm/ao_arch.h
src/stm/ao_arch_funcs.h