base: remove 'Native_connection_state' from API

Issue #1832
This commit is contained in:
Norman Feske
2016-03-11 21:47:12 +01:00
committed by Christian Helmuth
parent da5d182ad3
commit 4cdfb9bc2f
30 changed files with 389 additions and 364 deletions

View File

@ -19,6 +19,9 @@
#include <base/rpc_server.h>
#include <base/sleep.h>
/* base-internal includes */
#include <base/internal/native_connection_state.h>
using namespace Genode;
@ -44,7 +47,8 @@ void Rpc_entrypoint::entry()
{
using Pool = Object_pool<Rpc_object_base>;
Ipc_server srv(&_snd_buf, &_rcv_buf);
Native_connection_state cs;
Ipc_server srv(cs, &_snd_buf, &_rcv_buf);
_ipc_server = &srv;
_cap = srv;
_cap_valid.unlock();

View File

@ -0,0 +1,21 @@
/*
* \brief Dummy connection state
* \author Norman Feske
* \date 2016-03-03
*/
/*
* Copyright (C) 2016 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 _INCLUDE__BASE__INTERNAL__NATIVE_CONNECTION_STATE_H_
#define _INCLUDE__BASE__INTERNAL__NATIVE_CONNECTION_STATE_H_
#include <base/stdint.h>
namespace Genode { struct Native_connection_state { }; }
#endif /* _INCLUDE__BASE__INTERNAL__NATIVE_CONNECTION_STATE_H_ */