genode/ports-foc/src
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
..
drivers Fix l4linux block driver for large partitions 2013-03-08 12:09:53 +01:00
l4android Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
l4linux Imported Genode release 11.11 2011-12-22 16:19:25 +01:00
lib/l4lx l4lx: avoid creation of redundant thread for vcpus 2013-03-26 17:59:59 +01:00