seL4/include/arch/arm/armv
Sebastian Holzapfel 60aac65c99 ARM/v7-a: Force -O2 compilation of idle thread
This fixes a problem with -O0 SMP builds on ARM visible as kernel
data aborts whenever the idle thread executes.

The idle thread receives no stack pointer. At -O2, this is fine
as the wfi() call is inlined and stack operations in idle_thread
are optimized out. At -O0, the stack operations remain and wfi()
is not inlined, resulting in stack accesses in the idle thread
that cause data aborts.

Forcing -O2 behaviour was deemed the simplest solution for now.
Giving the idle thread a stack would have had larger verification
ramifications for what is now a fairly uncommon use case.
2018-03-13 13:09:47 +11:00
..
armv6/armv Fix armv6 CCNT definition 2017-12-19 13:46:09 +11:00
armv7-a/armv ARM/v7-a: Force -O2 compilation of idle thread 2018-03-13 13:09:47 +11:00
armv8-a aarch64: implement cycle counter, PMU 2017-11-28 10:14:12 +11:00
armv7ve Add a CMake based build system 2017-08-22 13:56:26 +10:00