e20bbe7002
The return code of assign_parent remained unused. So this patch removes it. The bind_thread function fails only due to platform-specific limitations such as the exhaustion of ID name spaces, which cannot be sensibly handled by the PD-session client. If occurred, such conditions used to be reflected by integer return codes that were used for diagnostic messages only. The patch removes the return codes and leaves the diagnostic output to core. Fixes #1842
31 lines
620 B
C++
31 lines
620 B
C++
/*
|
|
* \brief Core implementation of the PD session interface
|
|
* \author Norman Feske
|
|
* \date 2012-08-15
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2012-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.
|
|
*/
|
|
|
|
/* core-local includes */
|
|
#include <pd_session_component.h>
|
|
|
|
using namespace Genode;
|
|
|
|
|
|
void Pd_session_component::bind_thread(Thread_capability) { }
|
|
|
|
|
|
void Pd_session_component::assign_parent(Capability<Parent> parent)
|
|
{
|
|
_parent = parent;
|
|
}
|
|
|
|
|
|
bool Pd_session_component::assign_pci(addr_t, uint16_t) { return true; }
|
|
|