47 lines
943 B
C++
47 lines
943 B
C++
/*
|
|
* \brief Kernel-specific part of the PD-session interface
|
|
* \author Norman Feske
|
|
* \author Stefan Kalkowski
|
|
* \date 2017-06-13
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2017 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
#ifndef _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_
|
|
#define _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_
|
|
|
|
/* Genode includes */
|
|
#include <hw_native_pd/hw_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<Hw_native_pd>
|
|
{
|
|
private:
|
|
|
|
Pd_session_component &_pd_session;
|
|
|
|
public:
|
|
|
|
Native_pd_component(Pd_session_component &pd, char const *args);
|
|
|
|
~Native_pd_component();
|
|
|
|
void upgrade_cap_slab() override;
|
|
};
|
|
|
|
#endif /* _CORE__INCLUDE__NATIVE_PD_COMPONENT_H_ */
|