Kernel: Cleanup AML device initialization

_STA and _INI are now properly called on call devices
This commit is contained in:
2024-04-12 02:00:30 +03:00
parent 46b5a7697c
commit 89c4abc07a
6 changed files with 77 additions and 94 deletions

View File

@@ -52,6 +52,4 @@ namespace Kernel::ACPI::AML
}
};
bool initialize_device(BAN::RefPtr<NamedObject> device);
}

View File

@@ -25,4 +25,6 @@ namespace Kernel::ACPI::AML
ParseResult enter_context_and_parse_term_list(ParseContext& outer_context, const AML::NameString& name, BAN::ConstByteSpan aml_data);
};
bool initialize_scope(BAN::RefPtr<Scope> scope);
}