zephyr/include/arch
Carles Cufi 41bcac3f1c arm: nvic: Fix exception priority access on Cortex-M0(+)
The Cortex-M0(+) and in general processors that support only the ARMv6-M
instruction set can only access the NVIC_IPRn registers with word
accesses, and not with byte ones like the Cortex-M3 and onwards. This
patch addresses the issue by modifying the way that _NvicIrqPrioSet()
writes to the IPRn register, using a word access for Cortex-M0(+).
A similar issue is addressed for internal exceptions, this time for the
SHPR registers that are accessed differently on ARMv6-M.

Reference code taken from CMSIS.

Jira: ZEP-1497

Change-id: I08e1bf60b3b70579b42f4ab926ee835c18bb65bb
Signed-off-by: Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-01-03 22:44:31 +00:00
..
arc kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
arm arm: nvic: Fix exception priority access on Cortex-M0(+) 2017-01-03 22:44:31 +00:00
nios2 kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
x86 kernel: remove last nanokernel ocrrurances from include/ 2016-12-25 14:34:43 -05:00
cpu.h nios2: basic build, non-functional 2016-05-03 23:18:45 +00:00