b49e588c1c
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
69 lines
2.6 KiB
PHP
69 lines
2.6 KiB
PHP
TARGET = core
|
|
REQUIRES = pistachio
|
|
LIBS = base-common
|
|
|
|
GEN_CORE_DIR = $(BASE_DIR)/src/core
|
|
|
|
SRC_CC = stack_area.cc \
|
|
core_printf.cc \
|
|
core_rpc_cap_alloc.cc \
|
|
core_region_map.cc \
|
|
cpu_session_component.cc \
|
|
cpu_session_platform.cc \
|
|
dataspace_component.cc \
|
|
dump_alloc.cc \
|
|
io_mem_session_component.cc \
|
|
io_mem_session_support.cc \
|
|
irq_session_component.cc \
|
|
kip.cc \
|
|
main.cc \
|
|
multiboot_info.cc \
|
|
pd_session_component.cc \
|
|
rpc_cap_factory.cc \
|
|
pd_assign_pci.cc \
|
|
pd_upgrade_ram_quota.cc \
|
|
pager.cc \
|
|
pager_ep.cc \
|
|
pager_object.cc \
|
|
platform.cc \
|
|
platform_pd.cc \
|
|
platform_services.cc \
|
|
platform_thread.cc \
|
|
ram_session_component.cc \
|
|
ram_session_support.cc \
|
|
region_map_component.cc \
|
|
region_map_support.cc \
|
|
rom_session_component.cc \
|
|
signal_source_component.cc \
|
|
thread_start.cc \
|
|
trace_session_component.cc
|
|
|
|
INC_DIR += $(REP_DIR)/src/core/include $(GEN_CORE_DIR)/include \
|
|
$(REP_DIR)/src/include $(BASE_DIR)/src/include
|
|
|
|
include $(GEN_CORE_DIR)/version.inc
|
|
|
|
vpath main.cc $(GEN_CORE_DIR)
|
|
vpath ram_session_component.cc $(GEN_CORE_DIR)
|
|
vpath rom_session_component.cc $(GEN_CORE_DIR)
|
|
vpath cpu_session_component.cc $(GEN_CORE_DIR)
|
|
vpath cpu_session_support.cc $(GEN_CORE_DIR)
|
|
vpath pd_session_component.cc $(GEN_CORE_DIR)
|
|
vpath rpc_cap_factory.cc $(GEN_CORE_DIR)
|
|
vpath pd_assign_pci.cc $(GEN_CORE_DIR)
|
|
vpath pd_upgrade_ram_quota.cc $(GEN_CORE_DIR)
|
|
vpath region_map_component.cc $(GEN_CORE_DIR)
|
|
vpath io_mem_session_component.cc $(GEN_CORE_DIR)
|
|
vpath io_mem_session_support.cc $(GEN_CORE_DIR)
|
|
vpath signal_source_component.cc $(GEN_CORE_DIR)
|
|
vpath trace_session_component.cc $(GEN_CORE_DIR)
|
|
vpath dataspace_component.cc $(GEN_CORE_DIR)
|
|
vpath dump_alloc.cc $(GEN_CORE_DIR)
|
|
vpath core_rpc_cap_alloc.cc $(GEN_CORE_DIR)
|
|
vpath core_region_map.cc $(GEN_CORE_DIR)
|
|
vpath stack_area.cc $(GEN_CORE_DIR)
|
|
vpath pager_ep.cc $(GEN_CORE_DIR)
|
|
vpath core_printf.cc $(BASE_DIR)/src/base/console
|
|
vpath kip.cc $(REP_DIR)/src/base/kip
|
|
vpath %.cc $(REP_DIR)/src/core
|