mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
909ab8dcd0
Enable routing of thread events to signal contexts via Kernel::route_thread_event. Replace Kernel::set_pager by Kernel::route_thread_event. In base-hw a pager object is a signal context and a pager activation is a signal receiver. If a thread wants to start communicating its page faults via a pager object, the thread calls Kernel::route_thread_event with its thread ID, event ID "FAULT", and the signal context ID of the pager object. If a pager activation wants to start handling page faults of a pager object, the pager activation assigns the corresponding signal context to its signal receiver. If a pager activation wants to stop handling page faults of a pager object, the pager activation dissolves the corresponding signal context from its signal receiver. If a thread wants to start communicating its page faults via a pager object, the thread calls Kernel::route_thread_event with its thread ID, event ID "FAULT", and the invalid signal context ID. Remove Kernel::resume_faulter. Move all page fault related code from generic kernel sources to CPU specific cpu_support.h and cpu_support.cc. fix #935
31 lines
879 B
Makefile
31 lines
879 B
Makefile
#
|
|
# \brief Portions of base library shared by core and non-core processes
|
|
# \author Norman Feske
|
|
# \date 2013-02-14
|
|
#
|
|
|
|
LIBS += cxx syscall
|
|
|
|
SRC_CC += main_bootstrap.cc
|
|
SRC_CC += ipc.cc ipc/ipc_marshal_cap.cc
|
|
SRC_CC += avl_tree/avl_tree.cc
|
|
SRC_CC += allocator/slab.cc
|
|
SRC_CC += allocator/allocator_avl.cc
|
|
SRC_CC += heap/heap.cc heap/sliced_heap.cc
|
|
SRC_CC += child/child.cc
|
|
SRC_CC += process/process.cc
|
|
SRC_CC += elf/elf_binary.cc
|
|
SRC_CC += console/console.cc
|
|
SRC_CC += lock/lock.cc
|
|
SRC_CC += signal/signal.cc signal/common.cc
|
|
SRC_CC += server/server.cc server/common.cc
|
|
SRC_CC += thread/thread_bootstrap.cc thread/trace.cc
|
|
|
|
INC_DIR += $(REP_DIR)/src/base/lock
|
|
INC_DIR += $(BASE_DIR)/src/base/lock
|
|
INC_DIR += $(BASE_DIR)/src/base/thread
|
|
|
|
vpath main_bootstrap.cc $(REP_DIR)/src/platform
|
|
vpath %.cc $(REP_DIR)/src/base
|
|
vpath %.cc $(BASE_DIR)/src/base
|