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
39 lines
978 B
C++
39 lines
978 B
C++
/*
|
|
* \brief Platform-specific services
|
|
* \author Stefan Kalkowski
|
|
* \date 2012-10-26
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2012-2013 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.
|
|
*/
|
|
|
|
#ifndef _CORE__INCLUDE__PLATFORM_SERVICES_H_
|
|
#define _CORE__INCLUDE__PLATFORM_SERVICES_H_
|
|
|
|
#include <base/service.h>
|
|
|
|
namespace Genode {
|
|
|
|
class Rpc_entrypoint;
|
|
class Sliced_heap;
|
|
|
|
|
|
/**
|
|
* Register platform-specific services at entrypoint, and service
|
|
* registry
|
|
*
|
|
* \param ep entrypoint used for session components of platform-services
|
|
* \param md metadata allocator for session components
|
|
* \param reg registry where to add platform-specific services
|
|
*/
|
|
void platform_add_local_services(Rpc_entrypoint *ep,
|
|
Sliced_heap *md,
|
|
Registry<Service> *reg);
|
|
}
|
|
|
|
#endif /* _CORE__INCLUDE__PLATFORM_SERVICES_H_ */
|