genode/repos/os/src/drivers/acpi/acpi.h
Alexander Boettcher babe1d1026 acpi: amend handling MMIO regions for ACPI tables
The handling of MMIO regions now supports more pathological cases with
weird cross references. Also, MMIO regions are releases after the
parsing is done.

Fixes #998
2015-02-27 11:40:59 +01:00

41 lines
903 B
C++

/*
* \brief Interface to ACPI
* \author Sebastian Sumpf <sebastian.sumpf@genode-labs.com>
* \date 2012-02-25
*/
/*
* Copyright (C) 2009-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.
*/
#ifndef _ACPI_H_
#define _ACPI_H_
#include <pci_session/capability.h>
namespace Acpi
{
/**
* Generate config file for pci_drv containing pointers to the
* extended PCI config space (since PCI Express)
*/
void create_pci_config_file(char * config_space,
Genode::size_t config_space_max);
/**
* Rewrite PCI-config space with GSIs found in ACPI tables.
*/
void configure_pci_devices(Pci::Session_capability &session);
/**
* Return override GSI for IRQ
*/
unsigned override(unsigned irq, unsigned *mode);
}
#endif /* _ACPI_H_ */