50#define _COMPONENT ACPI_NAMESPACE
114 Package =
Info->Predefined + 1;
117 "%s Validating return Package of Type %X, Count %X\n",
118 Info->FullPathname, Package->RetInfo.Type,
144 "Return Package has no elements (empty)"));
155 switch (Package->RetInfo.Type)
169 ExpectedCount = Package->RetInfo.Count1 + Package->RetInfo.Count2;
170 if (
Count < ExpectedCount)
172 goto PackageTooSmall;
174 else if (
Count > ExpectedCount)
177 "%s: Return Package is larger than needed - "
178 "found %u, expected %u\n",
179 Info->FullPathname,
Count, ExpectedCount));
185 Package->RetInfo.ObjectType1, Package->RetInfo.Count1,
186 Package->RetInfo.ObjectType2, Package->RetInfo.Count2, 0);
197 Package->RetInfo.ObjectType1,
i);
215 ExpectedCount = Package->RetInfo3.Count;
216 if (
Count < ExpectedCount)
218 goto PackageTooSmall;
225 if (i < Package->RetInfo3.Count)
230 Package->RetInfo3.ObjectType[
i],
i);
241 Package->RetInfo3.TailObjectType,
i);
286 ExpectedCount = (
UINT32) (*Elements)->Integer.Value;
289 goto PackageTooSmall;
292 Count = ExpectedCount;
320 Info, ReturnObject, ReturnObjectPtr);
328 ReturnObject = *ReturnObjectPtr;
351 ExpectedCount =
Count + 1;
352 goto PackageTooSmall;
358 Package->RetInfo.ObjectType1, 0);
366 if ((*Elements)->Buffer.Length != 16)
369 Info->NodeFlags,
"Invalid length for UUID Buffer"));
374 Package->RetInfo.ObjectType2, 0);
390 "Invalid internal return type in table entry: %X",
391 Package->RetInfo.Type));
404 "Return Package is too small - found %u elements, expected %u",
405 Count, ExpectedCount));
451 SubPackage = *Elements;
453 Info->ParentPackage = SubPackage;
466 Info->ParentPackage = SubPackage;
478 goto PackageTooSmall;
500 goto PackageTooSmall;
527 goto PackageTooSmall;
532 for (
j = 0;
j < ExpectedCount;
j++)
550 goto PackageTooSmall;
580 ExpectedCount = (
UINT32) (*SubElements)->Integer.Value;
583 goto PackageTooSmall;
589 goto PackageTooSmall;
592 if (ExpectedCount == 0)
601 (*SubElements)->Integer.Value = ExpectedCount;
608 (ExpectedCount - 1), 0, 0, 1);
633 "Return SubPackage[%u] is too small - found %u elements, expected %u",
677 "Return Package has invalid object type for version number"));
689 if (
Count < ExpectedCount)
692 "Return Package is too small - found %u elements, expected %u",
693 Count, ExpectedCount));
696 else if (
Count > ExpectedCount)
699 "%s: Return Package is larger than needed - "
700 "found %u, expected %u\n",
701 Info->FullPathname,
Count, ExpectedCount));
767 for (
i = 0;
i < Count1;
i++)
770 Type1,
i + StartIndex);
779 for (
i = 0;
i < Count2;
i++)
782 Type2, (
i + Count1 + StartIndex));
#define AE_AML_OPERAND_VALUE
#define AE_AML_OPERAND_TYPE
#define ACPI_RTYPE_STRING
#define ACPI_RTYPE_INTEGER
#define ACPI_RTYPE_PACKAGE
#define ACPI_WARN_PREDEFINED(plist)
ACPI_STATUS AcpiNsWrapWithPackage(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT *OriginalObject, ACPI_OPERAND_OBJECT **ObjDescPtr)
ACPI_STATUS AcpiNsCheckObjectType(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **ReturnObjectPtr, UINT32 ExpectedBtypes, UINT32 PackageIndex)
void AcpiNsRemoveNullElements(ACPI_EVALUATE_INFO *Info, UINT8 PackageType, ACPI_OPERAND_OBJECT *ObjDesc)
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_FUNCTION_NAME(a)
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_PACKAGE
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
ACPI_STATUS AcpiNsCheckPackage(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **ReturnObjectPtr)
static ACPI_STATUS AcpiNsCheckPackageList(ACPI_EVALUATE_INFO *Info, const ACPI_PREDEFINED_INFO *Package, ACPI_OPERAND_OBJECT **Elements, UINT32 Count)
static ACPI_STATUS AcpiNsCheckPackageElements(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **Elements, UINT8 Type1, UINT32 Count1, UINT8 Type2, UINT32 Count2, UINT32 StartIndex)
static ACPI_STATUS AcpiNsCustomPackage(ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **Elements, UINT32 Count)
union acpi_operand_object ** Elements
ACPI_OBJECT_PACKAGE Package
ACPI_PACKAGE_INFO2 RetInfo2
ACPI_PACKAGE_INFO RetInfo
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE _In_ USHORT _In_ USHORT Version