base: remove entrypoint.cc from core

Since component.cc is no longer linked to core, we can also remove
entrypoint.cc, which was merely a dependency of component.cc.

Related to issue #4784
This commit is contained in:
Norman Feske 2023-06-29 12:41:28 +02:00
parent 13e0710d20
commit 4193279560
5 changed files with 9 additions and 7 deletions

View File

@ -76,7 +76,7 @@ class Genode::Entrypoint : Noncopyable
ep(ep)
{ start(); }
void entry() override { ep._process_incoming_signals(); }
void entry() override;
};
Env &_env;

View File

@ -22,13 +22,11 @@ SRC_CC += raw_output.cc
SRC_CC += rpc_entrypoint.cc
SRC_CC += signal_common.cc
SRC_CC += sleep.cc
SRC_CC += entrypoint.cc
SRC_CC += region_map_client.cc
SRC_CC += rm_session_client.cc
SRC_CC += stack_allocator.cc
SRC_CC += trace.cc
SRC_CC += trace_buffer.cc
SRC_CC += root_proxy.cc
SRC_CC += env_session_id_space.cc
SRC_CC += stack_protector.cc
SRC_CC += xml_generator.cc

View File

@ -1,6 +1,8 @@
SRC_CC += component.cc
SRC_CC += default_log.cc
SRC_CC += entrypoint.cc
SRC_CC += platform.cc stack_area.cc
SRC_CC += root_proxy.cc
SRC_CC += rpc_cap_alloc.cc heartbeat.cc
SRC_CC += vm.cc

View File

@ -221,10 +221,6 @@ namespace Genode {
}
/* expected by entrypoint.cc */
Genode::size_t Component::stack_size() { return 64*1024; }
void Genode::bootstrap_component(Genode::Platform &)
{
init_exception_handling(*core_env().pd_session(), core_env().local_rm());

View File

@ -72,6 +72,12 @@ void Entrypoint::Signal_proxy_component::signal()
}
void Entrypoint::Signal_proxy_thread::entry()
{
ep._process_incoming_signals();
}
void Entrypoint::_dispatch_signal(Signal &sig)
{
Signal_dispatcher_base *dispatcher = 0;