genode/repos/base-okl4/src/core/okl4_pd_session_component.cc

30 lines
673 B
C++
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Core implementation of the PD session interface extension
* \author Stefan Kalkowski
* \date 2009-06-21
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2009-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* core includes */
#include <util.h>
#include <pd_session_component.h>
#include <cpu_session_component.h>
using namespace Genode;
void Pd_session_component::space_pager(Thread_capability thread)
{
_thread_ep->apply(thread, [this] (Cpu_thread_component *cpu_thread)
{
if (!cpu_thread) return;
_pd.space_pager(cpu_thread->platform_thread());
});
2011-12-22 16:19:25 +01:00
}