Function uacpi_get_current_resources

uacpi_status uacpi_get_current_resources(uacpi_namespace_node* device, uacpi_resources** out_resources)

Description

Evaluate the _CRS method for a 'device' and get the returned resource list

via 'out_resources'. NOTE: the returned buffer must be released via uacpi_free_resources() If you don't need to keep the resource array for later use you can uacpi_for_each_device_resource(device, "_CRS", ...) instead, which takes care of iteration & memory management on its own.