genode/repos/base-nova/src/core/pd_assign_pci.cc
Norman Feske b1910cdd54 Integrate SIGNAL session into PD session
This patch removes the SIGNAL service from core and moves its
functionality to the PD session. Furthermore, it unifies the PD service
implementation and terminology across the various base platforms.

Issue #1841
2016-03-07 12:34:44 +01:00

25 lines
577 B
C++

/*
* \brief Extension of core implementation of the PD session interface
* \author Alexander Boettcher
* \date 2013-01-11
*/
/*
* Copyright (C) 2013-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 */
#include <pd_session_component.h>
using namespace Genode;
bool Pd_session_component::assign_pci(addr_t pci_config_memory, uint16_t bdf)
{
uint8_t res = Nova::assign_pci(_pd.pd_sel(), pci_config_memory, bdf);
return res == Nova::NOVA_OK;
}