Remove Rpc_entrypoint::Native_context
This patch largely reverts the commit "base: lay groundwork for base-linux caps change" because the use of 'epoll' instead of 'select' alleviated the need to allocate large FD sets, which motivated the introduction of the 'Native_context' hook. Related to issue #3581
This commit is contained in:
@@ -9,9 +9,7 @@ include $(BASE_DIR)/lib/mk/base-common.inc
|
||||
LIBS += startup-sel4 syscall-sel4
|
||||
|
||||
SRC_CC += rpc_dispatch_loop.cc
|
||||
SRC_CC += rpc_entrypoint_manage.cc
|
||||
SRC_CC += thread.cc thread_myself.cc thread_bootstrap.cc
|
||||
SRC_CC += capability.cc capability_raw.cc
|
||||
SRC_CC += stack_area_addr.cc
|
||||
SRC_CC += platform.cc
|
||||
SRC_CC += rpc_entry.cc
|
||||
|
||||
@@ -359,11 +359,10 @@ void Genode::ipc_reply(Native_capability, Rpc_exception_code exc,
|
||||
}
|
||||
|
||||
|
||||
Genode::Rpc_request Genode::ipc_reply_wait(Reply_capability const &,
|
||||
Rpc_exception_code exc,
|
||||
Msgbuf_base &reply_msg,
|
||||
Msgbuf_base &request_msg,
|
||||
Rpc_entrypoint::Native_context &)
|
||||
Genode::Rpc_request Genode::ipc_reply_wait(Reply_capability const &,
|
||||
Rpc_exception_code exc,
|
||||
Msgbuf_base &reply_msg,
|
||||
Msgbuf_base &request_msg)
|
||||
{
|
||||
/* allocate and define receive selector */
|
||||
if (!rcv_sel())
|
||||
@@ -392,10 +391,9 @@ Genode::Rpc_request Genode::ipc_reply_wait(Reply_capability const &,
|
||||
}
|
||||
|
||||
|
||||
Ipc_server::Ipc_server(Rpc_entrypoint::Native_context& _native_context)
|
||||
Ipc_server::Ipc_server()
|
||||
:
|
||||
Native_capability(Capability_space::create_ep_cap(*Thread::myself())),
|
||||
_native_context(_native_context)
|
||||
Native_capability(Capability_space::create_ep_cap(*Thread::myself()))
|
||||
{ }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user