/*
* \brief IRQ session interface
* \author Alexander Boettcher
* \date 2015-03-25
*/
/*
* Copyright (C) 2015 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.
*/
#pragma once
#include
#include
#include
#include
/* PCI local includes */
#include
namespace Pci { class Irq_session_component; }
class Pci::Irq_session_component : public Genode::Rpc_object,
public Genode::List::Element
{
private:
unsigned _gsi;
Genode::Irq_sigh _irq_sigh;
public:
Irq_session_component(unsigned);
~Irq_session_component();
/***************************
** Irq session interface **
***************************/
void ack_irq() override;
void sigh(Genode::Signal_context_capability) override;
};