Kernel: Use uint64_t instead of size_t for AML node conversion
This allows 32 bit to compile again :)
This commit is contained in:
parent
8c45249c06
commit
a5cf92b2ff
|
@ -278,7 +278,7 @@ namespace Kernel::ACPI::AML
|
|||
BAN::ErrorOr<NameString> parse_name_string(BAN::ConstByteSpan& aml_data);
|
||||
BAN::ErrorOr<BAN::ConstByteSpan> parse_pkg(BAN::ConstByteSpan& aml_data);
|
||||
|
||||
BAN::ErrorOr<Node> convert_node(Node&& source, uint8_t conversion, size_t max_length);
|
||||
BAN::ErrorOr<Node> convert_node(Node&& source, uint8_t conversion, uint64_t max_length);
|
||||
BAN::ErrorOr<Node> convert_node(Node&& source, const Node& target);
|
||||
|
||||
BAN::ErrorOr<Node> evaluate_node(const Scope& node_path, const Node& node);
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace Kernel::ACPI::AML
|
|||
BAN::ErrorOr<void> parse_index_field_op(ParseContext& context);
|
||||
BAN::ErrorOr<void> parse_bank_field_op(ParseContext& context);
|
||||
|
||||
BAN::ErrorOr<Node> convert_from_field_unit(const Node& node, uint8_t conversion, size_t max_length);
|
||||
BAN::ErrorOr<Node> convert_from_field_unit(const Node& node, uint8_t conversion, uint64_t max_length);
|
||||
BAN::ErrorOr<void> store_to_field_unit(const Node& source, const Node& target);
|
||||
|
||||
}
|
||||
|
|
|
@ -551,7 +551,7 @@ namespace Kernel::ACPI::AML
|
|||
}
|
||||
}
|
||||
|
||||
BAN::ErrorOr<Node> convert_node(Node&& source, uint8_t conversion, size_t max_length)
|
||||
BAN::ErrorOr<Node> convert_node(Node&& source, uint8_t conversion, uint64_t max_length)
|
||||
{
|
||||
dprintln_if(AML_DUMP_FUNCTION_CALLS, "convert_node {} -> 0b{3b}", source, conversion);
|
||||
|
||||
|
|
|
@ -652,7 +652,7 @@ namespace Kernel::ACPI::AML
|
|||
return {};
|
||||
}
|
||||
|
||||
BAN::ErrorOr<Node> convert_from_field_unit(const Node& source, uint8_t conversion, size_t max_length)
|
||||
BAN::ErrorOr<Node> convert_from_field_unit(const Node& source, uint8_t conversion, uint64_t max_length)
|
||||
{
|
||||
ASSERT(source.type == Node::Type::FieldUnit);
|
||||
|
||||
|
|
Loading…
Reference in New Issue