mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
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.
17 lines
231 B
C++
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();
|
|
|
|
}
|