mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
4e115a7de2
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.
30 lines
591 B
C++
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_ */
|