genode/repos/libports/include/acpica/acpica.h
Norman Feske 4e115a7de2 acpica: request 'Acpi' only if 'acpi_ready="yes"'
The synchronization with the ACPI driver is not needed when starting
acpica at a later stage. It could already be disabled via the
'acpi_ready="yes"' config attribute. However, acpica still
unconditionally requests the so-called "Acpi" service, which is an
alias for the platform_drv's "Platform" service. This patch disables the
use of this alias when the 'acpi_ready' synchronization is disabled.
2017-11-30 11:23:13 +01:00

30 lines
591 B
C++

/*
* \brief Port of ACPICA library
* \author Alexander Boettcher
* \date 2016-11-14
*/
/*
* Copyright (C) 2016-2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__ACPICA__ACPICA_H_
#define _INCLUDE__ACPICA__ACPICA_H_
namespace Genode {
struct Env;
struct Allocator;
}
namespace Acpica {
struct Wait_acpi_ready { bool enabled; };
void init(Genode::Env &, Genode::Allocator &, Wait_acpi_ready);
}
#endif /* _INCLUDE__ACPICA__ACPICA_H_ */