genode/repos/base-hw
Stefan Kalkowski 2cf4e5a6de hw: fix regression of smp kernel initialization
In commit "hw: improve cross-cpu synchronization" the implicit safe
initialization of the global kernel lock gets unsafe.
It is a static object, which is protected by the cxx library regarding
its initialization. But our cxx library uses a Genode::semaphore in
the contention case of object construction, which implicitly leads
to kernel syscalls for blocking the corresponding thread. This behaviour
is unacceptable for the kernel code.
Therefore, this fix guards the initialization of the kernel code with
a simple static boolean value explicitely.

Ref #3042
Ref #3043
2019-02-26 14:45:31 +01:00
..
doc Update Muen port 2018-02-28 11:04:57 +01:00
etc base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
include vm_session: extensions 2019-02-19 11:08:17 +01:00
lib/mk hw: add board support for Nitrogen6 SoloX 2019-02-26 14:45:31 +01:00
ports hw/x86: enable SMP support 2018-08-28 16:48:44 +02:00
recipes hw: add board support for Nitrogen6 SoloX 2019-02-26 14:45:31 +01:00
run Remove obsolete RAM/CAP services from run scripts 2017-05-31 13:16:22 +02:00
src hw: fix regression of smp kernel initialization 2019-02-26 14:45:31 +01:00