Kernel: Allow AML package->package conversion
This commit is contained in:
parent
2819e5f647
commit
46d1ada708
|
@ -693,6 +693,8 @@ namespace Kernel::ACPI::AML
|
|||
return convert_node(BAN::move(source), ConvString, target.as.str_buf->size);
|
||||
if (target.type == Node::Type::Buffer)
|
||||
return convert_node(BAN::move(source), ConvBuffer, target.as.str_buf->size);
|
||||
if (target.type == Node::Type::Package && source.type == Node::Type::Package)
|
||||
return source;
|
||||
dwarnln("Invalid conversion from {} to {}", source, target);
|
||||
return BAN::Error::from_errno(EINVAL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue