/* * \brief Platform specific services for FOC * \author Alexander Boettcher * \date 2018-08-26 */ /* * Copyright (C) 2018 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU Affero General Public License version 3. */ /* core includes */ #include #include #include #include /* * Add x86 specific services */ void Genode::platform_add_local_services(Rpc_entrypoint &ep, Sliced_heap &heap, Registry &services, Trace::Source_registry &trace_sources) { static Vm_root vm_root(ep, heap, core_env().ram_allocator(), core_env().local_rm(), trace_sources); static Core_service vm(services, vm_root); static Io_port_root io_root(*core_env().pd_session(), platform().io_port_alloc(), heap); static Core_service io_port(services, io_root); }