genode/repos/base/include/base
Norman Feske b49e588c1c Assign threads to PD at its creation time
This patch replaces the former 'Pd_session::bind_thread' function by a
PD-capability argument of the 'Cpu_session::create_thread' function, and
removes the ancient thread-start protocol via 'Rm_session::add_client' and
'Cpu_session::set_pager'. Threads are now bound to PDs at their creation
time and implicitly paged according to the address space of the PD.

Note the API change:

This patch changes the signature of the 'Child' and 'Process' constructors.
There is a new 'address_space' argument, which represents the region map
representing the child's address space. It is supplied separately to the
PD session capability (which principally can be invoked to obtain the
PD's address space) to allow the population of the address space
without relying on an 'Pd_session::address_space' RPC call.
Furthermore, a new (optional) env_pd argument allows the explicit
overriding of the PD capability handed out to the child as part of its
environment. It can be used to intercept the interaction of the child
with its PD session at core. This is used by Noux.

Issue #1938
2016-05-09 13:10:52 +02:00
..
trace base: update include guards 2016-03-07 12:34:45 +01:00
affinity.h Revised API documentation 2015-04-09 16:04:46 +02:00
allocator_avl.h base: get rid of alloc align default value 2016-04-25 10:48:01 +02:00
allocator_guard.h base: update include guards 2016-03-07 12:34:45 +01:00
allocator.h base: get rid of alloc align default value 2016-04-25 10:48:01 +02:00
blocking.h Revised API documentation 2015-04-09 16:04:46 +02:00
cache.h base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
cancelable_lock.h Revised API documentation 2015-04-09 16:04:46 +02:00
capability.h Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
child.h Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
component.h Consolidate RM service into PD session 2016-05-09 13:10:51 +02:00
connection.h Revised API documentation 2015-04-09 16:04:46 +02:00
console.h Revised API documentation 2015-04-09 16:04:46 +02:00
entrypoint.h Signal_handler: remove num argument from handler 2016-05-09 13:10:52 +02:00
env.h Consolidate RM service into PD session 2016-05-09 13:10:51 +02:00
exception.h base,os: Coding-style unification 2015-03-13 12:17:23 +01:00
heap.h Consolidate RM service into PD session 2016-05-09 13:10:51 +02:00
ipc_msgbuf.h Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
ipc.h Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
lock_guard.h Revised API documentation 2015-04-09 16:04:46 +02:00
lock.h base: coding style 2015-04-09 16:04:45 +02:00
native_capability.h base: update include guards 2016-03-07 12:34:45 +01:00
object_pool.h base: do not lock interleaved in object pool 2015-09-30 12:20:41 +02:00
printf.h Revised API documentation 2015-04-09 16:04:46 +02:00
process.h Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
rpc_args.h base: string length handling fix in Rpc_in_buffer 2015-05-06 10:55:18 +02:00
rpc_client.h Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
rpc_server.h Unify ipc_msgbuf.h across base platforms 2016-04-25 10:47:59 +02:00
rpc.h base: simplification of the IPC code 2016-04-11 11:51:42 +02:00
semaphore.h base: minimize critical section in Semaphore::up 2015-12-10 13:16:27 +01:00
service.h Revised API documentation 2015-04-09 16:04:46 +02:00
shared_object.h base: update include guards 2016-03-07 12:34:45 +01:00
signal.h Signal_handler: remove num argument from handler 2016-05-09 13:10:52 +02:00
slab.h base: optimized slab allocator 2016-04-25 10:47:56 +02:00
sleep.h base: remove kernel-specific base/sleep.h 2016-03-07 12:34:44 +01:00
snprintf.h Revised API documentation 2015-04-09 16:04:46 +02:00
stdint.h Revised API documentation 2015-04-09 16:04:46 +02:00
synced_allocator.h safeguard the synchronized allocator template 2015-09-30 12:20:39 +02:00
synced_interface.h base: update include guards 2016-03-07 12:34:45 +01:00
thread_state_base.h hw: remove access_thread_regs syscall 2015-09-09 15:14:27 +02:00
thread_state.h hw: remove access_thread_regs syscall 2015-09-09 15:14:27 +02:00
thread.h Assign threads to PD at its creation time 2016-05-09 13:10:52 +02:00
tslab.h base: hide slab implementation details from API 2016-04-25 10:47:56 +02:00
weak_ptr.h base: add Weak_object::weak_ptr const 2015-08-21 11:00:58 +02:00