Files
serenity/Kernel/Firmware/ACPI/Initialize.h
T
Undefine d65ebd86d9 Kernel: Split ACPI init between early and full initilization
To get rid of the duplicate table parsing code we need the ACPI parser
during interrupt initilization, but to perform the full ACPI
initilization we setup an IRQ handler which needs interrupts to be
initialized. After this split during early initilization we only read
the information about the tables to make it available and do the rest
after interrupts are initilizated. This also keeps ACPI errors as being
not deadly.
2026-10-21 19:03:12 +02:00

17 lines
231 B
C++

/*
* Copyright (c) 2020, Andreas Kling <[email protected]>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Error.h>
namespace Kernel::ACPI {
bool is_enabled();
ErrorOr<void> early_initialize();
}