Kernel: Implement AML WhileOp

This commit is contained in:
2024-04-17 15:00:14 +03:00
parent 701fc600cd
commit 956335e844
2 changed files with 68 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
#include <kernel/ACPI/AML/String.h>
#include <kernel/ACPI/AML/ThermalZone.h>
#include <kernel/ACPI/AML/Utils.h>
#include <kernel/ACPI/AML/While.h>
namespace Kernel::ACPI
{
@@ -163,6 +164,8 @@ namespace Kernel::ACPI
return AML::Scope::parse(context);
case AML::Byte::IfOp:
return AML::IfElse::parse(context);
case AML::Byte::WhileOp:
return AML::While::parse(context);
case AML::Byte::StoreOp:
return AML::Store::parse(context);
case AML::Byte::DerefOfOp: