Enum uacpi_resource_length_kind
enum uacpi_resource_length_kind {
UACPI_RESOURCE_LENGTH_KIND_DONT_CARE,
UACPI_RESOURCE_LENGTH_KIND_ONE_LESS,
UACPI_RESOURCE_LENGTH_KIND_FULL
};Description
This applies to IRQ & StartDependent resources only. The DONT_CARE value is
used for deserialization into the AML format to signify that the serializer is allowed to optimize the length down if possible. Note that this is generally not allowed unless the resource is generated by the caller: -- ACPI 6.5 ------------------------------------------------------------ The resource descriptors in the byte stream argument must be specified exactly as listed in the _CRS byte stream - meaning that the identical resource descriptors must appear in the identical order, resulting in a buffer of exactly the same length. Optimizations such as changing an IRQ descriptor to an IRQNoFlags descriptor (or vice-versa) must not be performed. Similarly, changing StartDependentFn to StartDependentFnNoPri is not allowed.
Values
UACPI_RESOURCE_LENGTH_KIND_DONT_CAREUACPI_RESOURCE_LENGTH_KIND_ONE_LESSUACPI_RESOURCE_LENGTH_KIND_FULL