49#define _COMPONENT ACPI_RESOURCES
74 ACPI_SIZE ListSizeNeeded;
76 void *CurrentResourcePtr;
158 ACPI_SIZE ListSizeNeeded = 0;
172 AmlStart = AmlBuffer->
Buffer.Pointer;
306 if ((*TopObjectList)->Package.Count != 4)
309 "(PRT[%u]) Need package of length 4, found length %u",
310 Index, (*TopObjectList)->Package.Count));
323 ObjDesc = SubObjectList[0];
327 "(PRT[%u].Address) Need Integer, found %s",
336 ObjDesc = SubObjectList[1];
350 ObjDesc = SubObjectList[2];
353 switch (ObjDesc->
Common.Type)
360 "(PRT[%u].Source) Need name, found Reference Class 0x%X",
410 "(PRT[%u].Source) Need Ref/String/Integer, found %s",
422 ObjDesc = SubObjectList[3];
426 "(PRT[%u].SourceIndex) Need Integer, found %s",
467 ACPI_SIZE AmlSizeNeeded = 0;
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
#define AE_AML_NO_RESOURCE_END_TAG
#define AE_AML_PACKAGE_LIMIT
#define ACPI_ROUND_UP_TO_64BIT(a)
ACPI_STATUS AcpiNsHandleToPathname(ACPI_HANDLE TargetHandle, ACPI_BUFFER *Buffer, BOOLEAN NoTrailing)
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 AmlBufferLength
ACPI_STATUS AcpiRsConvertResourcesToAml(ACPI_RESOURCE *Resource, ACPI_SIZE AmlSizeNeeded, UINT8 *OutputBuffer)
ACPI_STATUS AcpiRsGetListLength(UINT8 *AmlBuffer, UINT32 AmlBufferLength, ACPI_SIZE *SizeNeeded)
ACPI_STATUS AcpiRsGetPciRoutingTableLength(ACPI_OPERAND_OBJECT *PackageObject, ACPI_SIZE *BufferSizeNeeded)
ACPI_STATUS AcpiRsGetAmlLength(ACPI_RESOURCE *ResourceList, ACPI_SIZE ResourceListSize, ACPI_SIZE *SizeNeeded)
ACPI_STATUS AcpiRsConvertAmlToResources(UINT8 *Aml, UINT32 Length, UINT32 Offset, UINT8 ResourceIndex, void **Context)
struct acpi_pci_routing_table ACPI_PCI_ROUTING_TABLE
#define ACPI_TYPE_LOCAL_REFERENCE
#define ACPI_TYPE_INTEGER
#define ACPI_CAST_PTR(t, p)
#define ACPI_EXPORT_SYMBOL(Symbol)
#define ACPI_ALLOCATE_ZEROED(a)
ACPI_STATUS AcpiUtInitializeBuffer(ACPI_BUFFER *Buffer, ACPI_SIZE RequiredLength)
const char * AcpiUtGetObjectTypeName(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_STATUS AcpiUtWalkAmlResources(ACPI_WALK_STATE *WalkState, UINT8 *Aml, ACPI_SIZE AmlLength, ACPI_WALK_AML_CALLBACK UserFunction, void **Context)
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
_Must_inspect_result_ _Inout_opt_ PUNICODE_STRING _Out_opt_ PULONG BufferSizeNeeded
ACPI_STATUS AcpiRsCreateResourceList(ACPI_OPERAND_OBJECT *AmlBuffer, ACPI_BUFFER *OutputBuffer)
ACPI_STATUS AcpiBufferToResource(UINT8 *AmlBuffer, UINT16 AmlBufferLength, ACPI_RESOURCE **ResourcePtr)
ACPI_STATUS AcpiRsCreatePciRoutingTable(ACPI_OPERAND_OBJECT *PackageObject, ACPI_BUFFER *OutputBuffer)
ACPI_STATUS AcpiRsCreateAmlResources(ACPI_BUFFER *ResourceList, ACPI_BUFFER *OutputBuffer)
union acpi_operand_object ** Elements
ACPI_NAMESPACE_NODE * Node
ACPI_OBJECT_COMMON_HEADER UINT8 Class
ACPI_OBJECT_INTEGER Integer
ACPI_OBJECT_REFERENCE Reference
ACPI_OBJECT_COMMON Common
ACPI_OBJECT_PACKAGE Package
ACPI_OBJECT_STRING String
ACPI_OBJECT_BUFFER Buffer
const char * AcpiFormatException(ACPI_STATUS Status)
_In_ WDFCOLLECTION _In_ ULONG Index
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList