Kernel: ACPI implement SizeOf

This commit is contained in:
2024-06-25 23:24:51 +03:00
parent 0179f5ea09
commit 60a05412c9
2 changed files with 57 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
#include <kernel/ACPI/AML/Processor.h>
#include <kernel/ACPI/AML/Reference.h>
#include <kernel/ACPI/AML/Region.h>
#include <kernel/ACPI/AML/SizeOf.h>
#include <kernel/ACPI/AML/Sleep.h>
#include <kernel/ACPI/AML/Store.h>
#include <kernel/ACPI/AML/String.h>
@@ -176,6 +177,8 @@ namespace Kernel::ACPI
return AML::Index::parse(context);
case AML::Byte::NotifyOp:
return AML::Notify::parse(context);
case AML::Byte::SizeOfOp:
return AML::SizeOf::parse(context);
case AML::Byte::NoopOp:
context.aml_data = context.aml_data.slice(1);
return ParseResult::Success;