mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 23:17:14 +00:00
Remove exec_static_constructors from dde_linux drivers
This is a follow-up commit to "lx_emul: generate initcalls during build". Issue #5096
This commit is contained in:
parent
7ec08af6d9
commit
abb2045e17
@ -92,12 +92,6 @@ class Wireguard::Main : private Entrypoint::Io_progress_handler,
|
||||
{
|
||||
Lx_kit::initialize(_env, _signal_handler);
|
||||
|
||||
/*
|
||||
* We have to call the static constructors because otherwise the
|
||||
* initcall list of the LX kit won't get populated.
|
||||
*/
|
||||
_env.exec_static_constructors();
|
||||
|
||||
_config_rom.sigh(_config_handler);
|
||||
_handle_config();
|
||||
|
||||
|
@ -44,8 +44,6 @@ struct Test::Driver
|
||||
{
|
||||
Lx_kit::initialize(env, _signal_handler);
|
||||
|
||||
env.exec_static_constructors();
|
||||
|
||||
try {
|
||||
Attached_rom_dataspace info(env, "platform_info");
|
||||
tsc_freq_khz = info.xml().sub_node("hardware").sub_node("tsc")
|
||||
|
@ -119,7 +119,6 @@ struct Framebuffer::Driver
|
||||
Driver(Env &env) : env(env)
|
||||
{
|
||||
Lx_kit::initialize(env, scheduler_handler);
|
||||
env.exec_static_constructors();
|
||||
|
||||
config.sigh(config_handler);
|
||||
}
|
||||
|
@ -64,8 +64,6 @@ struct Pc::Main
|
||||
{
|
||||
Lx_kit::initialize(env, _signal_handler);
|
||||
|
||||
env.exec_static_constructors();
|
||||
|
||||
genode_mac_address_reporter_init(env, Lx_kit::env().heap);
|
||||
|
||||
genode_uplink_init(genode_env_ptr(env),
|
||||
|
Loading…
x
Reference in New Issue
Block a user