genode/ports-foc/src/lib/l4lx
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
..
include l4lx: avoid creation of redundant thread for vcpus 2013-03-26 17:59:59 +01:00
dataspace.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
env.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
genode_block.cc Fix l4linux block driver for large partitions 2013-03-08 12:09:53 +01:00
genode_framebuffer.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
genode_input.cc New Input::Event::FOCUS, rename keycode to code 2013-01-15 10:18:11 +01:00
genode_net.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
genode_terminal.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_io.cc L4Linux stability improvements 2013-03-18 13:06:06 +01:00
l4_log.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_re_c_dataspace.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_re_c_debug.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_re_c_mem_alloc.cc l4lx: allocate memory in chunks 2013-03-20 14:22:04 +01:00
l4_re_c_namespace.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_re_c_rm.cc L4Linux stability improvements 2013-03-18 13:06:06 +01:00
l4_re_c_util_cap.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_re_env.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_util_atomic.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_util_cpu.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_util_kip.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4_util_util.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_irq.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_memory.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_task.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00
l4lx_thread.cc l4lx: avoid creation of redundant thread for vcpus 2013-03-26 17:59:59 +01:00
rm.cc L4Linux stability improvements 2013-03-18 13:06:06 +01:00
startup.cc Update copyright headers to 2013 2013-01-10 21:44:47 +01:00