Home | History | Annotate | Download | only in compiler

Lines Matching refs:Asl

215  * DESCRIPTION: Construct the operands for the MUTEX ASL keyword.
226 Next = Op->Asl.Child;
227 Next = Next->Asl.Next;
229 if (Next->Asl.Value.Integer > 15)
245 * DESCRIPTION: Construct the operands for the METHOD ASL keyword.
266 Next = Op->Asl.Child;
270 Next = Next->Asl.Next;
271 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
273 NumArgs = (UINT8) Next->Asl.Value.Integer;
274 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
279 Next = Next->Asl.Next;
280 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
282 Serialized = (UINT8) Next->Asl.Value.Integer;
283 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
288 Next = Next->Asl.Next;
289 if (Next->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
295 if (Next->Asl.Value.Integer > 15)
300 Concurrency = (UINT8) Next->Asl.Value.Integer;
312 Next->Asl.Value.Integer = MethodFlags;
313 Next->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
314 Next->Asl.AmlLength = 1;
315 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA;
319 Op->Asl.Extra = NumArgs;
327 * PARAMETERS: FieldOp - Node for an ASL field
355 AccessType = (UINT8) Op->Asl.Value.Integer;
356 Op->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
360 FieldOp->Asl.Value.Integer = AccessType;
364 Next = Op->Asl.Next;
365 LockRule = (UINT8) Next->Asl.Value.Integer;
366 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
370 Next = Next->Asl.Next;
371 UpdateRule = (UINT8) Next->Asl.Value.Integer;
384 Next->Asl.Value.Integer = FieldFlags;
385 Next->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
386 Next->Asl.AmlLength = 1;
387 Next->Asl.ParseOpcode = PARSEOP_RAW_DATA;
391 Next = Next->Asl.Next;
398 Next->Asl.ExtraValue = CurrentBitOffset;
400 switch (Next->Asl.ParseOpcode)
404 PkgLengthNode = Next->Asl.Child;
405 AccessType = (UINT8) PkgLengthNode->Asl.Value.Integer;
414 PkgLengthNode = Next->Asl.Child;
415 NewBitOffset = ((UINT32) PkgLengthNode->Asl.Value.Integer) * 8;
429 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
430 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
452 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
453 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
462 PkgLengthNode->Asl.Value.Integer =
474 PkgLengthNode->Asl.Value.Integer =
485 PkgLengthNode = Next->Asl.Child;
486 NewBitOffset = (UINT32) PkgLengthNode->Asl.Value.Integer;
490 (Next->Asl.ParseOpcode == PARSEOP_RESERVED_BYTES) &&
499 Next->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
500 PkgLengthNode->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
529 PkgLengthNode->Asl.ExtraValue = MinimumLength;
541 Next = Next->Asl.Next;
554 * DESCRIPTION: Construct the AML operands for the FIELD ASL keyword
568 Next = Op->Asl.Child;
572 OpnDoFieldCommon (Op, Next->Asl.Next);
584 * DESCRIPTION: Construct the AML operands for the INDEXFIELD ASL keyword
598 Next = Op->Asl.Child;
602 Next = Next->Asl.Next;
606 OpnDoFieldCommon (Op, Next->Asl.Next);
618 * DESCRIPTION: Construct the AML operands for the BANKFIELD ASL keyword
632 Next = Op->Asl.Child;
636 Next = Next->Asl.Next;
640 Next = Next->Asl.Next;
644 OpnDoFieldCommon (Op, Next->Asl.Next);
672 Next = Op->Asl.Child;
676 Next = Next->Asl.Next;
681 Next = Next->Asl.Next;
685 Next = Next->Asl.Next;
686 if (Next->Asl.ParseOpcode == PARSEOP_INTEGER)
690 Op->Asl.Value.Integer = Next->Asl.Value.Integer;
691 if (!Op->Asl.Value.Integer && (SpaceId < ACPI_NUM_PREDEFINED_REGIONS))
698 Op->Asl.Value.Integer = ACPI_UINT64_MAX;
711 * DESCRIPTION: Construct the AML operands for the BUFFER ASL keyword. We
732 BufferLengthOp = Op->Asl.Child;
733 InitializerOp = BufferLengthOp->Asl.Next;
736 * If the BufferLength is not an INTEGER or was not specified in the ASL
740 if ((BufferLengthOp->Asl.ParseOpcode != PARSEOP_INTEGER) &&
741 (BufferLengthOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG))
751 switch (InitializerOp->Asl.ParseOpcode)
764 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
765 InitializerOp->Asl.AmlLength = 1;
766 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
779 BufferLength = strlen (InitializerOp->Asl.Value.String) + 1;
781 InitializerOp->Asl.AmlOpcode = AML_RAW_DATA_BUFFER;
782 InitializerOp->Asl.AmlLength = BufferLength;
783 InitializerOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
799 UtGetOpName (InitializerOp->Asl.ParseOpcode));
805 if (BufferLengthOp->Asl.Value.Integer > BufferLength)
807 BufferLength = (UINT32) BufferLengthOp->Asl.Value.Integer;
823 BufferLengthOp->Asl.ParseOpcode = PARSEOP_INTEGER;
824 BufferLengthOp->Asl.AmlOpcode = AML_DWORD_OP;
825 BufferLengthOp->Asl.Value.Integer = BufferLength;
842 * DESCRIPTION: Construct the AML operands for the PACKAGE ASL keyword. NOTE:
859 PackageLengthOp = Op->Asl.Child;
860 InitializerOp = PackageLengthOp->Asl.Next;
864 if (InitializerOp->Asl.ParseOpcode != PARSEOP_DEFAULT_ARG)
871 InitializerOp = InitializerOp->Asl.Next;
877 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) ||
878 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST))
880 if (PackageLengthOp->Asl.Value.Integer > PackageLength)
894 PackageLength = (UINT32) PackageLengthOp->Asl.Value.Integer;
896 else if (PackageLengthOp->Asl.Value.Integer < PackageLength)
907 if (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG)
913 Op->Asl.Child->Asl.ParseOpcode = PARSEOP_INTEGER;
914 Op->Asl.Child->Asl.Value.Integer = PackageLength;
919 (void) OpcSetOptimalIntegerSize (Op->Asl.Child);
924 if ((PackageLengthOp->Asl.ParseOpcode == PARSEOP_INTEGER) ||
925 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_QWORDCONST) ||
926 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_ZERO) ||
927 (PackageLengthOp->Asl.ParseOpcode == PARSEOP_DEFAULT_ARG))
944 if (((Op->Asl.Child->Asl.ParseOpcode == PARSEOP_INTEGER) &&
945 (Op->Asl.Child->Asl.Value.Integer <= 255)) ||
946 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONE) ||
947 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ONES)||
948 (Op->Asl.Child->Asl.ParseOpcode == PARSEOP_ZERO))
950 Op->Asl.AmlOpcode = AML_PACKAGE_OP;
951 Op->Asl.ParseOpcode = PARSEOP_PACKAGE;
957 PackageLengthOp->Asl.AmlOpcode = AML_RAW_DATA_BYTE;
958 PackageLengthOp->Asl.AmlLength = 1;
959 PackageLengthOp->Asl.ParseOpcode = PARSEOP_RAW_DATA;
960 PackageLengthOp->Asl.Value.Integer = PackageLength;
975 * DESCRIPTION: Construct the AML operands for the LOADTABLE ASL keyword.
989 Next = Op->Asl.Child;
993 Next = Next->Asl.Next;
997 Next = Next->Asl.Next;
1001 Next = Next->Asl.Next;
1002 if (Next->Asl.ParseOpcode == PARSEOP_ZERO)
1004 Next->Asl.ParseOpcode = PARSEOP_STRING_LITERAL;
1005 Next->Asl.Value.String = "\\";
1006 Next->Asl.AmlLength = 2;
1016 Next = Next->Asl.Next;
1017 if (Next->Asl.ParseOpcode == DEFAULT_ARG)
1019 Next->Asl.AmlLength = 1;
1020 Next->Asl.ParseOpcode = ZERO;
1025 Next = Next->Asl.Next;
1026 if (Next->Asl.ParseOpcode == DEFAULT_ARG)
1028 Next->Asl.AmlLength = 1;
1029 Next->Asl.ParseOpcode = ZERO;
1044 * DESCRIPTION: Construct the AML operands for the DEFINITIONBLOCK ASL keyword
1069 Child = Op->Asl.Child;
1070 if (Child->Asl.Value.Buffer &&
1071 *Child->Asl.Value.Buffer &&
1078 FlSwitchFileSet (Op->Asl.Filename);
1085 strlen ((char *) Child->Asl.Value.Buffer) + 1);
1090 strcat (Filename, (char *) Child->Asl.Value.Buffer);
1112 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1116 Child = Child->Asl.Next;
1117 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1118 if (Child->Asl.Value.String)
1120 AslGbl_FilesList->TableSignature = Child->Asl.Value.String;
1121 AslGbl_TableSignature = Child->Asl.Value.String;
1140 Child = Child->Asl.Next;
1141 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1149 Child = Child->Asl.Next;
1150 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1151 if (Child->Asl.Value.String &&
1152 strlen (Child->Asl.Value.String) > ACPI_OEM_ID_SIZE)
1160 Child = Child->Asl.Next;
1161 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1162 if (Child->Asl.Value.String)
1164 Length = strlen (Child->Asl.Value.String);
1172 strcpy (AslGbl_TableId, Child->Asl.Value.String);
1190 Child = Child->Asl.Next;
1191 Child->Asl.ParseOpcode = PARSEOP_DEFAULT_ARG;
1218 Arg = Op->Asl.Child;
1222 Arg = Arg->Asl.Next;
1237 * DESCRIPTION: For the named ASL/AML operators, get the actual name from the
1250 switch (Op->Asl.AmlOpcode)
1325 if (Op->Asl.AmlOpcode == AML_RAW_DATA_BYTE)
1330 switch (Op->Asl.ParseOpcode)