genode/base-okl4/include/okl4_pd_session/connection.h
Norman Feske db2b1a37ae Propagate process labels to PD sessions
On Linux, we use the session label for naming the corresponding Linux
process. When looking up the processes via 'ps', the Genode process
hierarchy becomes immediately visible.
2012-11-05 17:31:04 +01:00

33 lines
730 B
C++

/*
* \brief Connection to OKL4-specific PD service
* \author Stefan Kalkowski
* \date 2009-06-22
*/
/*
* Copyright (C) 2009-2012 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__OKL4_PD_SESSION__CONNECTION_H_
#define _INCLUDE__OKL4_PD_SESSION__CONNECTION_H_
#include <okl4_pd_session/client.h>
#include <base/connection.h>
namespace Genode {
struct Pd_connection : Connection<Pd_session>, Okl4_pd_session_client
{
Pd_connection()
:
Connection<Pd_session>(session("ram_quota=4K")),
Okl4_pd_session_client(cap())
{ }
};
}
#endif /* _INCLUDE__OKL4_PD_SESSION__CONNECTION_H_ */