Kernel: Add API to get ACPI reference paths

This commit is contained in:
2025-04-01 22:52:09 +03:00
parent b3b5b40163
commit aba49cc93f
2 changed files with 14 additions and 0 deletions

View File

@@ -44,6 +44,8 @@ namespace Kernel::ACPI::AML
};
BAN::ErrorOr<FindResult> find_named_object(const Scope& scope, const NameString& name_string, bool force_absolute = false);
BAN::ErrorOr<Scope> find_reference_scope(const Reference* reference);
BAN::ErrorOr<void> for_each_child(const Scope&, const BAN::Function<BAN::Iteration(BAN::StringView, Reference*)>&);
BAN::ErrorOr<void> for_each_child(const Scope&, const BAN::Function<BAN::Iteration(const Scope&, Reference*)>&);