mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 14:48:20 +00:00
committed by
Christian Helmuth
parent
da5d182ad3
commit
4cdfb9bc2f
@ -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();
|
||||
|
@ -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_ */
|
Reference in New Issue
Block a user