| /src/sys/external/bsd/acpica/dist/parser/ |
| psargs.c | 3 * Module Name: psargs - Parse AML opcode arguments 76 * RETURN: Decoded package length. On completion, the AML pointer points 88 UINT8 *Aml = ParserState->Aml; 101 ByteCount = (Aml[0] >> 6); 102 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); 115 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4)); 123 PackageLength |= (Aml[0] & ByteZeroMask); 145 UINT8 *Start = ParserState->Aml; 152 /* Function below updates ParserState->Aml */ [all...] |
| psloop.c | 3 * Module Name: psloop - Main AML parse loop 45 * Parse the AML and build an operation tree as most interpreters, (such as 48 * flexible and the code fairly compact by parsing based on a list of AML 79 * AmlOpStart - Op start in AML 137 WalkState->Aml = WalkState->ParserState.Aml; 185 Op->Named.Data = WalkState->ParserState.Aml; 187 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); 191 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; 204 "Setup Package/Buffer: Pass %u, AML Ptr: %p\n" [all...] |
| psutils.c | 68 UINT8 *Aml) 73 ScopeOp = AcpiPsAllocOp (AML_SCOPE_OP, Aml); 119 * Aml - Address of the opcode 132 UINT8 *Aml) 179 Op->Common.Aml = Aml;
|
| psparse.c | 3 * Module Name: psparse - Parser top level AML parse routines 45 * Parse the AML and build an operation tree as most interpreters, 49 * fairly compact by parsing based on a list of AML opcode 69 * PARAMETERS: Opcode - An AML opcode 101 * RETURN: Next AML opcode 103 * DESCRIPTION: Get next AML opcode (without incrementing AML pointer) 111 UINT8 *Aml; 115 Aml = ParserState->Aml; [all...] |
| psobject.c | 70 * DESCRIPTION: Extract the next AML opcode from the input stream. 84 WalkState->Aml = WalkState->ParserState.Aml; 89 * 1) A valid AML opcode 113 ACPI_ERROR_ONLY(AmlOffset = (UINT32) ACPI_PTR_DIFF (WalkState->Aml, 121 ACPI_DUMP_BUFFER ((WalkState->ParserState.Aml - 16), 48); 134 "Aborting disassembly, AML byte code is corrupt")); 138 AcpiUtDumpBuffer (((UINT8 *) WalkState->ParserState.Aml - 16), 155 WalkState->ParserState.Aml++; 158 WalkState->ParserState.Aml++ [all...] |
| psscope.c | 82 * 1) AML pointer is at or beyond the end of the scope 93 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd ||
|
| /src/sys/external/bsd/acpica/dist/utilities/ |
| utresrc.c | 54 * Base sizes of the raw AML resource descriptors, indexed by resource type. 170 * PARAMETERS: Aml - Pointer to the raw AML resource template 178 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called 186 UINT8 *Aml, 211 EndAml = Aml + AmlLength; 215 while (Aml < EndAml) 219 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex); 231 Length = AcpiUtGetDescriptorLength (Aml); 238 Aml, Length, Offset, ResourceIndex, Context) [all...] |
| utdebug.c | 704 * Aml - Executed AML address 718 UINT8 *Aml, 724 AcpiExTracePoint (Type, Begin, Aml, Pathname); 727 AcpiOsTracePoint (Type, Begin, Aml, Pathname);
|
| /src/sys/external/bsd/acpica/dist/resources/ |
| rslist.c | 62 * DESCRIPTION: Convert an AML resource to an internal representation of the 69 UINT8 *Aml, 99 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); 101 if (AcpiUtGetResourceType (Aml) == 130 /* Convert the AML byte stream resource to a local resource struct */ 137 "Could not convert AML resource (Type 0x%X)", *Aml)); 149 AcpiUtGetResourceType (Aml), Length, 184 UINT8 *Aml = OutputBuffer; 195 while (Aml < EndAml [all...] |
| rsmisc.c | 66 * Aml - Where the AML descriptor is returned 71 * DESCRIPTION: Convert an external AML resource descriptor to the corresponding 79 AML_RESOURCE *Aml, 111 AmlResourceLength = AcpiUtGetResourceLength (Aml); 123 * Source is the external AML byte stream buffer, 126 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); 200 Target = ACPI_ADD_PTR (void, Aml, Info->Value); 221 Target = ACPI_ADD_PTR (void, Aml, (Info->Value + 2)); 226 Target = ACPI_ADD_PTR (void, Aml, Info->Value) [all...] |
| rsaddr.c | 312 * Aml - Pointer to the AML resource descriptor 316 * DESCRIPTION: Convert common flag fields from a raw AML resource descriptor 324 AML_RESOURCE *Aml) 330 if ((Aml->Address.ResourceType > 2) && 331 (Aml->Address.ResourceType < 0xC0) && 332 (Aml->Address.ResourceType != 0x0A)) 340 Resource, Aml, AcpiRsConvertGeneralFlags); 347 Resource, Aml, AcpiRsConvertMemFlags); 352 Resource, Aml, AcpiRsConvertIoFlags) [all...] |
| rsutils.c | 219 * PARAMETERS: TotalLength - Length of the AML descriptor, including 221 * Aml - Pointer to the raw AML descriptor 225 * DESCRIPTION: Set the ResourceLength field of an AML 235 AML_RESOURCE *Aml) 246 (TotalLength - AcpiUtGetResourceHeaderLength (Aml)); 250 if (Aml->SmallHeader.DescriptorType & ACPI_RESOURCE_NAME_LARGE) 255 &Aml->LargeHeader.ResourceLength, &ResourceLength); 263 Aml->SmallHeader.DescriptorType = (UINT8) 264 ((Aml->SmallHeader.DescriptorType [all...] |
| /src/sys/external/bsd/acpica/dist/disassembler/ |
| dmresrc.c | 260 void *Aml; 282 Aml = &ByteData[CurrentByteOffset]; 286 ResourceType = AcpiUtGetResourceType (Aml); 287 ResourceLength = AcpiUtGetResourceLength (Aml); 291 Status = AcpiUtValidateResource (NULL, Aml, &ResourceIndex); 302 CurrentByteOffset += AcpiUtGetDescriptorLength (Aml); 340 AcpiDmEndDependentDescriptor (Info, Aml, ResourceLength, Level); 363 Info, Aml, ResourceLength, Level); 397 UINT8 *Aml; 431 Aml = NextOp->Named.Data [all...] |
| dmdeferred.c | 3 * Module Name: dmdeferred - Disassembly of deferred AML opcodes 60 UINT8 *Aml, 132 ACPI_ERROR ((AE_INFO, "Unhandled deferred AML opcode [0x%.4X]", 149 * Aml - Pointer to the raw AML 150 * AmlLength - Length of the AML 162 UINT8 *Aml, 176 if (!Aml || !AmlLength) 184 /* Need a new walk state to parse the AML */ 192 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, Aml, [all...] |
| dmwalk.c | 3 * Module Name: dmwalk - AML disassembly tree walk 122 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); 123 Info.AmlOffset = Op->Common.Aml - Info.StartAml; 438 /* Listing support to dump the AML code after the ASL statement */ 451 /* Dump the AML byte code for the previous Op */ 453 if (Op->Common.Aml > Info->PreviousAml) 458 (Op->Common.Aml - Info->PreviousAml), 463 Info->AmlOffset = (Op->Common.Aml - Info->StartAml); 466 Info->PreviousAml = Op->Common.Aml; 520 /* In verbose mode, print the AML offset, opcode and depth count * [all...] |
| /src/sys/external/bsd/acpica/dist/compiler/ |
| cvparser.c | 3 * Module Name: cvparser - Converter functions that are called from the AML 129 * DESCRIPTION: Initialize the file dependency tree by scanning the AML. 412 * DESCRIPTION: Takes a given parse op, looks up its Op->Common.Aml field 432 Op->Common.Aml, AcpiGbl_FileTreeRoot); 597 * DESCRIPTION: Look at the aml that the parser state is pointing to, 599 * aml pointer past the comment. Comments are transferred to parse 610 UINT8 *Aml = ParserState->Aml; 611 UINT16 Opcode = (UINT16) ACPI_GET8 (Aml); 627 CvDbgPrint ("comment aml address: %p\n", Aml) [all...] |
| aslcodegen.c | 3 * Module Name: aslcodegen - AML code generation 90 * DESCRIPTION: Generate AML code. Currently generates the listing file 100 /* Generate the AML output file */ 126 * DESCRIPTION: Parse tree walk to generate the AML code. 137 /* Generate the AML for this node */ 151 "\nFinal parse tree used for AML output:\n"); 211 * DESCRIPTION: Write a buffer of AML data to the AML output file. 222 /* Write the raw data to the AML file */ 226 /* Update the final AML length for this node (used for listings) * [all...] |
| /src/sys/external/bsd/acpica/dist/include/ |
| acresrc.h | 47 /* Need the AML resource descriptor structs */ 177 /* Resource tables indexed by raw AML resource descriptor type */ 269 UINT8 *Aml, 287 AML_RESOURCE *Aml, 293 AML_RESOURCE *Aml); 302 AML_RESOURCE *Aml, 308 AML_RESOURCE *Aml, 337 AML_RESOURCE *Aml, 342 AML_RESOURCE *Aml, 350 AML_RESOURCE *Aml); [all...] |
| acparser.h | 3 * Module Name: acparser.h - AML Parser subcomponent prototypes and defines 92 * psargs - Parse AML opcode arguments 172 * psopinfo - AML Opcode information 318 UINT8 *Aml); 328 UINT8 *Aml);
|
| acutils.h | 159 UINT8 *Aml, 929 UINT8 *Aml, 937 void *Aml, 942 void *Aml); 946 void *Aml); 950 void *Aml); 954 void *Aml);
|
| /src/sys/external/bsd/acpica/dist/executer/ |
| extrace.c | 168 * PARAMETERS: Params - AML method arguments 233 * Aml - Executed AML address 246 UINT8 *Aml, 265 Aml)); 427 Op->Common.Aml, Op->Common.AmlOpName); 459 Op->Common.Aml, Op->Common.AmlOpName);
|
| /src/sys/external/bsd/acpica/dist/common/ |
| dmrestag.c | 87 UINT8 *Aml, 476 * PARAMETERS: Op - Parse Op for the AML opcode 643 * Path is returned in AML (packed) format. 662 AML_RESOURCE *Aml; 679 Aml = ACPI_CAST_PTR ( 682 Status = AcpiUtValidateResource (NULL, Aml, &ResourceTableIndex); 694 Tag = AcpiDmGetResourceTag (ResourceBitIndex, Aml, ResourceTableIndex); 733 * end up in the final compiled AML, it's just an appearance issue for the 745 /* Internalize the namepath to AML format */ 1057 * NextOp contains the Aml pointer and the Aml lengt [all...] |
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dscontrol.c | 95 (WalkState->ParserState.Aml - 1)) 124 WalkState->ParserState.Aml - 1; 225 * written AML when the hardware does not respond within a while 369 __UNCONST("Executed AML Breakpoint opcode"));
|
| dspkginit.c | 87 * BIOS code modifies the AML on the fly to adjust the NumElements, and 89 * other AML interpreters. 185 ObjDesc->Package.AmlStart = WalkState->Aml; 208 * package elements is not supported by the AML interpreter, 217 * 1) No known AML interpreter supports this type of construct 467 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, 483 * If the AML actually tries to use such a package, the unresolved 495 (char *) Element->Reference.Aml, NULL, &ExternalPath);
|
| /src/sys/external/bsd/acpica/dist/namespace/ |
| nsxfname.c | 593 /* First AML opcode in the table must be a control method */ 595 ParserState.Aml = Buffer + sizeof (ACPI_TABLE_HEADER); 602 /* Extract method information from the raw AML */ 604 ParserState.Aml += AcpiPsGetOpcodeSize (Opcode); 608 MethodFlags = *ParserState.Aml++; 609 AmlStart = ParserState.Aml; 660 /* Copy the method AML to the local buffer */ 687 * Flag indicates AML buffer is dynamic, must be deleted later.
|