genode/ports-foc/src/lib/l4lx/include
Stefan Kalkowski ae1985bde2 l4lx: avoid creation of redundant thread for vcpus
This commit simplifies the creation of additional threads and VCPUs in L4linux.
By now, some Genode::Thread_base methods where overridden to use a Fiasco.OC
specific Cpu_session when creating threads.
Recent commit: 297538678e moved the actual creation
of the platform thread into the constructor of the generic Thread_base class.
Thereby the Vcpu class, which extended the Thread_base class, now unnecessarily
created two platform threads for each thread created via Vcpu. Nowadays, the
cpu_session capability is available via the Genode::env() environment. So we can
use the Thread_base parent class for the setup of the platform thread, and
afterwards create a Fiasco.OC specific cpu session client with the same cpu
session capability, Thread_base used for creation, to make use of the L4Linux
specific features of this interface (VCPU enabling, irq object creation etc.).
2013-03-26 17:59:59 +01:00
..
dataspace.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
env.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_irq.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_memory.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_task.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_thread.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
linux.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
rm.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
task.h Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
vcpu.h l4lx: avoid creation of redundant thread for vcpus 2013-03-26 17:59:59 +01:00