/* * \brief Platform specific services for Arndale * \author Stefan Kalkowski * \date 2014-07-08 */ /* * Copyright (C) 2014-2017 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. */ /* Genode includes */ #include #include /* core includes */ #include #include #include #include #include #include #include extern Genode::addr_t hypervisor_exception_vector; /* * Add ARM virtualization specific vm service */ void Genode::platform_add_local_services(Rpc_entrypoint &ep, Sliced_heap &sh, Registry &services, Trace::Source_registry &trace_sources) { using namespace Genode; map_local(Platform::core_phys_addr((addr_t)&hypervisor_exception_vector), Hw::Mm::hypervisor_exception_vector().base, 1, Hw::PAGE_FLAGS_KERN_TEXT); static Vm_root vm_root(ep, sh, core_env().ram_allocator(), core_env().local_rm(), trace_sources); static Core_service vm_service(services, vm_root); }