141#define METHOD_PREDEF_ARGS_MAX 5
142#define METHOD_ARG_BIT_WIDTH 3
143#define METHOD_ARG_MASK 0x0007
144#define ARG_COUNT_IS_MINIMUM 0x8000
145#define METHOD_MAX_ARG_TYPE ACPI_TYPE_PACKAGE
147#define METHOD_GET_ARG_COUNT(ArgList) ((ArgList) & METHOD_ARG_MASK)
148#define METHOD_GET_NEXT_TYPE(ArgList) (((ArgList) >>= METHOD_ARG_BIT_WIDTH) & METHOD_ARG_MASK)
152#define METHOD_0ARGS 0
153#define METHOD_1ARGS(a1) (1 | (a1 << 3))
154#define METHOD_2ARGS(a1,a2) (2 | (a1 << 3) | (a2 << 6))
155#define METHOD_3ARGS(a1,a2,a3) (3 | (a1 << 3) | (a2 << 6) | (a3 << 9))
156#define METHOD_4ARGS(a1,a2,a3,a4) (4 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12))
157#define METHOD_5ARGS(a1,a2,a3,a4,a5) (5 | (a1 << 3) | (a2 << 6) | (a3 << 9) | (a4 << 12) | (a5 << 15))
159#define METHOD_RETURNS(type) (type)
160#define METHOD_NO_RETURN_VALUE 0
162#define PACKAGE_INFO(a,b,c,d,e,f) {{{(a),(b),(c),(d)}, ((((UINT16)(f)) << 8) | (e)), 0}}
167#define WIDTH_1 0x0001
168#define WIDTH_2 0x0002
169#define WIDTH_3 0x0004
170#define WIDTH_8 0x0008
171#define WIDTH_16 0x0010
172#define WIDTH_32 0x0020
173#define WIDTH_64 0x0040
174#define VARIABLE_DATA 0x0080
175#define NUM_RESOURCE_WIDTHS 8
177#define WIDTH_ADDRESS WIDTH_16 | WIDTH_32 | WIDTH_64
180#ifdef ACPI_CREATE_PREDEFINED_TABLE
1115#if (defined ACPI_CREATE_RESOURCE_TABLE && defined ACPI_APPLICATION)
#define ACPI_RTYPE_REFERENCE
#define ACPI_RTYPE_STRING
#define ACPI_RTYPE_INTEGER
#define ACPI_RTYPE_PACKAGE
#define ACPI_RTYPE_BUFFER
#define METHOD_RETURNS(type)
#define METHOD_NO_RETURN_VALUE
#define METHOD_4ARGS(a1, a2, a3, a4)
#define METHOD_2ARGS(a1, a2)
#define METHOD_5ARGS(a1, a2, a3, a4, a5)
#define PACKAGE_INFO(a, b, c, d, e, f)
#define ARG_COUNT_IS_MINIMUM
const ACPI_PREDEFINED_INFO AcpiGbl_ResourceNames[]
const ACPI_PREDEFINED_INFO AcpiGbl_PredefinedMethods[]
#define METHOD_3ARGS(a1, a2, a3)
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_PACKAGE