Function uacpi_get_resource_from_buffer
uacpi_status uacpi_get_resource_from_buffer(uacpi_data_view aml_buffer, uacpi_resource** out_resource)
Description
Convert a single AML-encoded resource to native format.
This should be used for converting Connection() fields (passed during IO on GeneralPurposeIO or GenericSerialBus operation regions) or other similar buffers with only one resource to native format. NOTE: the returned buffer must be released via uacpi_free_resource()