cfdbccc5c2
This is a redesign of the root and parent interfaces to eliminate blocking RPC calls. - New session representation at the parent (base/session_state.h) - base-internal root proxy mechanism as migration path - Redesign of base/service.h - Removes ancient 'Connection::KEEP_OPEN' feature - Interface change of 'Child', 'Child_policy', 'Slave', 'Slave_policy' - New 'Slave::Connection' - Changed child-construction procedure to be compatible with the non-blocking parent interface and to be easier to use - The child's initial LOG session, its binary ROM session, and the linker ROM session have become part of the child's envirenment. - Session upgrading must now be performed via 'env.upgrade' instead of performing a sole RPC call the parent. To make RAM upgrades easier, the 'Connection' provides a new 'upgrade_ram' method. Issue #2120
36 lines
883 B
C++
36 lines
883 B
C++
/*
|
|
* \brief Platform specific services for Arndale
|
|
* \author Stefan Kalkowski
|
|
* \date 2014-07-08
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2014 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU General Public License version 2.
|
|
*/
|
|
|
|
/* Genode includes */
|
|
#include <base/service.h>
|
|
#include <base/heap.h>
|
|
|
|
/* core includes */
|
|
#include <platform_services.h>
|
|
#include <core_parent.h> /* for 'Core_service' type */
|
|
#include <vm_root.h>
|
|
|
|
|
|
/*
|
|
* Add ARM virtualization specific vm service
|
|
*/
|
|
void Genode::platform_add_local_services(Rpc_entrypoint *ep,
|
|
Sliced_heap *sh,
|
|
Registry<Service> *services)
|
|
{
|
|
using namespace Genode;
|
|
|
|
static Vm_root vm_root(ep, sh);
|
|
static Core_service<Vm_session_component> vm_service(*services, vm_root);
|
|
}
|