2016-01-19 20:24:22 +01:00
|
|
|
/*
|
|
|
|
* \brief Kernel-specific part of the PD-session interface
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2016-01-19
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2016-2017 Genode Labs GmbH
|
2016-01-19 20:24:22 +01:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2016-01-19 20:24:22 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_
|
|
|
|
#define _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_
|
|
|
|
|
|
|
|
/* Genode includes */
|
|
|
|
#include <foc_native_pd/foc_native_pd.h>
|
|
|
|
|
|
|
|
/* core-local includes */
|
|
|
|
#include <rpc_cap_factory.h>
|
|
|
|
|
|
|
|
namespace Genode {
|
|
|
|
|
|
|
|
class Pd_session_component;
|
|
|
|
class Native_pd_component;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
class Genode::Native_pd_component : public Rpc_object<Foc_native_pd>
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
Pd_session_component &_pd_session;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
Native_capability task_cap() override;
|
|
|
|
|
|
|
|
Native_pd_component(Pd_session_component &pd, char const *args);
|
|
|
|
|
|
|
|
~Native_pd_component();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_ */
|