mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-14 13:18:19 +00:00
Integrate SIGNAL session into PD session
This patch removes the SIGNAL service from core and moves its functionality to the PD session. Furthermore, it unifies the PD service implementation and terminology across the various base platforms. Issue #1841
This commit is contained in:
committed by
Christian Helmuth
parent
705ac74498
commit
b1910cdd54
38
repos/base-foc/include/signal_source/rpc_object.h
Normal file
38
repos/base-foc/include/signal_source/rpc_object.h
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* \brief Signal-source server interface
|
||||
* \author Norman Feske
|
||||
* \date 2010-02-03
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (C) 2010-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 _INCLUDE__SIGNAL_SOURCE__RPC_OBJECT_H_
|
||||
#define _INCLUDE__SIGNAL_SOURCE__RPC_OBJECT_H_
|
||||
|
||||
#include <base/rpc_server.h>
|
||||
#include <signal_source/foc_signal_source.h>
|
||||
|
||||
namespace Genode { struct Signal_source_rpc_object; }
|
||||
|
||||
|
||||
struct Genode::Signal_source_rpc_object : Rpc_object<Foc_signal_source,
|
||||
Signal_source_rpc_object>
|
||||
{
|
||||
protected:
|
||||
|
||||
Native_capability _blocking_semaphore;
|
||||
|
||||
public:
|
||||
|
||||
Signal_source_rpc_object(Native_capability cap)
|
||||
: _blocking_semaphore(cap) {}
|
||||
|
||||
Native_capability _request_semaphore() { return _blocking_semaphore; }
|
||||
};
|
||||
|
||||
#endif /* _INCLUDE__SIGNAL_SOURCE__RPC_OBJECT_H_ */
|
Reference in New Issue
Block a user