Kernel: Fix and add some AML to_underlying functions

This commit is contained in:
2024-08-18 20:44:51 +03:00
parent 8902032b42
commit 0fa16cf982
3 changed files with 14 additions and 2 deletions

View File

@@ -12,7 +12,7 @@ namespace Kernel::ACPI::AML
Register();
Register(BAN::RefPtr<AML::Node> node);
BAN::RefPtr<AML::Node> to_underlying() override { return value; }
BAN::RefPtr<AML::Node> to_underlying() override { return value->to_underlying(); }
BAN::RefPtr<AML::Node> convert(uint8_t mask) override;
BAN::RefPtr<AML::Node> store(BAN::RefPtr<AML::Node> source) override;