Kernel: Fix AML aliases and package elements

This commit is contained in:
2024-09-10 16:18:42 +03:00
parent 19d16620a6
commit c65613901f
10 changed files with 25 additions and 79 deletions

View File

@@ -50,9 +50,6 @@ namespace Kernel::ACPI::AML
switch (destination->type)
{
case AML::Node::Type::Alias:
static_cast<AML::Alias*>(destination.ptr())->target = source->copy();
return source;
case AML::Node::Type::Name:
static_cast<AML::Name*>(destination.ptr())->object = source->copy();
return source;