Kernel: Expose ACPI resolve_package_element to outside

This commit is contained in:
Bananymous 2025-04-01 22:52:36 +03:00
parent aba49cc93f
commit 0474ac4262
2 changed files with 3 additions and 1 deletions

View File

@ -309,6 +309,8 @@ namespace Kernel::ACPI::AML
BAN::ErrorOr<Node> method_call(const Scope& scope, const Node& method,
Node&& arg0 = {}, Node&& arg1 = {}, Node&& arg2 = {}, Node&& arg3 = {}, Node&& arg4 = {}, Node&& arg5 = {}, Node&& arg6 = {});
BAN::ErrorOr<void> resolve_package_element(Package::Element& element, bool error_if_not_exists);
}
namespace BAN::Formatter

View File

@ -210,7 +210,7 @@ namespace Kernel::ACPI::AML
return result;
}
static BAN::ErrorOr<void> resolve_package_element(Package::Element& element, bool error_if_not_exists)
BAN::ErrorOr<void> resolve_package_element(Package::Element& element, bool error_if_not_exists)
{
if (element.resolved)
{