| /src/sys/external/bsd/acpica/dist/parser/ |
| psargs.c | 3 * Module Name: psargs - Parse AML opcode arguments 184 * RETURN: Decoded package length. On completion, the AML pointer points 196 UINT8 *Aml = ParserState->Aml; 209 ByteCount = (Aml[0] >> 6); 210 ParserState->Aml += ((ACPI_SIZE) ByteCount + 1); 223 PackageLength |= (Aml[ByteCount] << ((ByteCount << 3) - 4)); 231 PackageLength |= (Aml[0] & ByteZeroMask); 253 UINT8 *Start = ParserState->Aml; 260 /* Function below updates ParserState->Aml */ [all...] |
| psloop.c | 3 * Module Name: psloop - Main AML parse loop 153 * Parse the AML and build an operation tree as most interpreters, (such as 156 * flexible and the code fairly compact by parsing based on a list of AML 187 * AmlOpStart - Op start in AML 245 WalkState->Aml = WalkState->ParserState.Aml; 293 Op->Named.Data = WalkState->ParserState.Aml; 295 (WalkState->ParserState.PkgEnd - WalkState->ParserState.Aml); 299 WalkState->ParserState.Aml = WalkState->ParserState.PkgEnd; 312 "Setup Package/Buffer: Pass %u, AML Ptr: %p\n" [all...] |
| psutils.c | 176 UINT8 *Aml) 181 ScopeOp = AcpiPsAllocOp (AML_SCOPE_OP, Aml); 227 * Aml - Address of the opcode 240 UINT8 *Aml) 287 Op->Common.Aml = Aml;
|
| psparse.c | 3 * Module Name: psparse - Parser top level AML parse routines 153 * Parse the AML and build an operation tree as most interpreters, 157 * fairly compact by parsing based on a list of AML opcode 177 * PARAMETERS: Opcode - An AML opcode 209 * RETURN: Next AML opcode 211 * DESCRIPTION: Get next AML opcode (without incrementing AML pointer) 219 UINT8 *Aml; 223 Aml = ParserState->Aml; [all...] |
| psobject.c | 178 * DESCRIPTION: Extract the next AML opcode from the input stream. 192 WalkState->Aml = WalkState->ParserState.Aml; 197 * 1) A valid AML opcode 221 ACPI_ERROR_ONLY(AmlOffset = (UINT32) ACPI_PTR_DIFF (WalkState->Aml, 229 ACPI_DUMP_BUFFER ((WalkState->ParserState.Aml - 16), 48); 242 "Aborting disassembly, AML byte code is corrupt")); 246 AcpiUtDumpBuffer (((UINT8 *) WalkState->ParserState.Aml - 16), 263 WalkState->ParserState.Aml++; 266 WalkState->ParserState.Aml++ [all...] |
| psscope.c | 190 * 1) AML pointer is at or beyond the end of the scope 201 ((ParserState->Aml >= ParserState->Scope->ParseScope.ArgEnd ||
|
| /src/sys/external/bsd/acpica/dist/utilities/ |
| utresrc.c | 162 * Base sizes of the raw AML resource descriptors, indexed by resource type. 278 * PARAMETERS: Aml - Pointer to the raw AML resource template 286 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called 294 UINT8 *Aml, 319 EndAml = Aml + AmlLength; 323 while (Aml < EndAml) 327 Status = AcpiUtValidateResource (WalkState, Aml, &ResourceIndex); 339 Length = AcpiUtGetDescriptorLength (Aml); 346 Aml, Length, Offset, ResourceIndex, Context) [all...] |
| utdebug.c | 812 * Aml - Executed AML address 826 UINT8 *Aml, 832 AcpiExTracePoint (Type, Begin, Aml, Pathname); 835 AcpiOsTracePoint (Type, Begin, Aml, Pathname);
|
| /src/sys/external/bsd/acpica/dist/resources/ |
| rslist.c | 170 * DESCRIPTION: Convert an AML resource to an internal representation of the 177 UINT8 *Aml, 207 AmlResource = ACPI_CAST_PTR (AML_RESOURCE, Aml); 209 if (AcpiUtGetResourceType (Aml) == 238 /* Convert the AML byte stream resource to a local resource struct */ 245 "Could not convert AML resource (Type 0x%X)", *Aml)); 257 AcpiUtGetResourceType (Aml), Length, 292 UINT8 *Aml = OutputBuffer; 303 while (Aml < EndAml [all...] |
| rsmisc.c | 174 * Aml - Where the AML descriptor is returned 179 * DESCRIPTION: Convert an external AML resource descriptor to the corresponding 187 AML_RESOURCE *Aml, 219 AmlResourceLength = AcpiUtGetResourceLength (Aml); 231 * Source is the external AML byte stream buffer, 234 Source = ACPI_ADD_PTR (void, Aml, Info->AmlOffset); 308 Target = ACPI_ADD_PTR (void, Aml, Info->Value); 329 Target = ACPI_ADD_PTR (void, Aml, (Info->Value + 2)); 334 Target = ACPI_ADD_PTR (void, Aml, Info->Value) [all...] |
| rsaddr.c | 420 * Aml - Pointer to the AML resource descriptor 424 * DESCRIPTION: Convert common flag fields from a raw AML resource descriptor 432 AML_RESOURCE *Aml) 438 if ((Aml->Address.ResourceType > 2) && 439 (Aml->Address.ResourceType < 0xC0) && 440 (Aml->Address.ResourceType != 0x0A)) 448 Resource, Aml, AcpiRsConvertGeneralFlags); 455 Resource, Aml, AcpiRsConvertMemFlags); 460 Resource, Aml, AcpiRsConvertIoFlags) [all...] |
| rsutils.c | 327 * PARAMETERS: TotalLength - Length of the AML descriptor, including 329 * Aml - Pointer to the raw AML descriptor 333 * DESCRIPTION: Set the ResourceLength field of an AML 343 AML_RESOURCE *Aml) 354 (TotalLength - AcpiUtGetResourceHeaderLength (Aml)); 358 if (Aml->SmallHeader.DescriptorType & ACPI_RESOURCE_NAME_LARGE) 363 &Aml->LargeHeader.ResourceLength, &ResourceLength); 371 Aml->SmallHeader.DescriptorType = (UINT8) 372 ((Aml->SmallHeader.DescriptorType [all...] |
| /src/sys/external/bsd/acpica/dist/disassembler/ |
| dmresrc.c | 368 void *Aml; 390 Aml = &ByteData[CurrentByteOffset]; 394 ResourceType = AcpiUtGetResourceType (Aml); 395 ResourceLength = AcpiUtGetResourceLength (Aml); 399 Status = AcpiUtValidateResource (NULL, Aml, &ResourceIndex); 410 CurrentByteOffset += AcpiUtGetDescriptorLength (Aml); 448 AcpiDmEndDependentDescriptor (Info, Aml, ResourceLength, Level); 471 Info, Aml, ResourceLength, Level); 505 UINT8 *Aml; 539 Aml = NextOp->Named.Data [all...] |
| dmdeferred.c | 3 * Module Name: dmdeferred - Disassembly of deferred AML opcodes 168 UINT8 *Aml, 240 ACPI_ERROR ((AE_INFO, "Unhandled deferred AML opcode [0x%.4X]", 257 * Aml - Pointer to the raw AML 258 * AmlLength - Length of the AML 270 UINT8 *Aml, 284 if (!Aml || !AmlLength) 292 /* Need a new walk state to parse the AML */ 300 Status = AcpiDsInitAmlWalk (WalkState, Op, NULL, Aml, [all...] |
| dmwalk.c | 3 * Module Name: dmwalk - AML disassembly tree walk 230 Info.StartAml = Op->Common.Aml - sizeof (ACPI_TABLE_HEADER); 231 Info.AmlOffset = Op->Common.Aml - Info.StartAml; 546 /* Listing support to dump the AML code after the ASL statement */ 559 /* Dump the AML byte code for the previous Op */ 561 if (Op->Common.Aml > Info->PreviousAml) 566 (Op->Common.Aml - Info->PreviousAml), 571 Info->AmlOffset = (Op->Common.Aml - Info->StartAml); 574 Info->PreviousAml = Op->Common.Aml; 628 /* 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 237 * DESCRIPTION: Initialize the file dependency tree by scanning the AML. 520 * DESCRIPTION: Takes a given parse op, looks up its Op->Common.Aml field 540 Op->Common.Aml, AcpiGbl_FileTreeRoot); 705 * DESCRIPTION: Look at the aml that the parser state is pointing to, 707 * aml pointer past the comment. Comments are transferred to parse 718 UINT8 *Aml = ParserState->Aml; 719 UINT16 Opcode = (UINT16) ACPI_GET8 (Aml); 735 CvDbgPrint ("comment aml address: %p\n", Aml) [all...] |
| aslcodegen.c | 3 * Module Name: aslcodegen - AML code generation 198 * DESCRIPTION: Generate AML code. Currently generates the listing file 208 /* Generate the AML output file */ 234 * DESCRIPTION: Parse tree walk to generate the AML code. 245 /* Generate the AML for this node */ 259 "\nFinal parse tree used for AML output:\n"); 319 * DESCRIPTION: Write a buffer of AML data to the AML output file. 330 /* Write the raw data to the AML file */ 334 /* Update the final AML length for this node (used for listings) * [all...] |
| /src/sys/external/bsd/acpica/dist/include/ |
| acresrc.h | 156 /* Need the AML resource descriptor structs */ 286 /* Resource tables indexed by raw AML resource descriptor type */ 378 UINT8 *Aml, 396 AML_RESOURCE *Aml, 402 AML_RESOURCE *Aml); 411 AML_RESOURCE *Aml, 417 AML_RESOURCE *Aml, 446 AML_RESOURCE *Aml, 451 AML_RESOURCE *Aml, 459 AML_RESOURCE *Aml); [all...] |
| acparser.h | 3 * Module Name: acparser.h - AML Parser subcomponent prototypes and defines 200 * psargs - Parse AML opcode arguments 280 * psopinfo - AML Opcode information 426 UINT8 *Aml); 436 UINT8 *Aml);
|
| acutils.h | 267 UINT8 *Aml, 1037 UINT8 *Aml, 1045 void *Aml, 1050 void *Aml); 1054 void *Aml); 1058 void *Aml); 1062 void *Aml);
|
| /src/sys/external/bsd/acpica/dist/executer/ |
| extrace.c | 276 * PARAMETERS: Params - AML method arguments 341 * Aml - Executed AML address 354 UINT8 *Aml, 373 Aml)); 535 Op->Common.Aml, Op->Common.AmlOpName); 567 Op->Common.Aml, Op->Common.AmlOpName);
|
| /src/sys/external/bsd/acpica/dist/common/ |
| dmrestag.c | 195 UINT8 *Aml, 584 * PARAMETERS: Op - Parse Op for the AML opcode 751 * Path is returned in AML (packed) format. 770 AML_RESOURCE *Aml; 787 Aml = ACPI_CAST_PTR ( 790 Status = AcpiUtValidateResource (NULL, Aml, &ResourceTableIndex); 802 Tag = AcpiDmGetResourceTag (ResourceBitIndex, Aml, ResourceTableIndex); 841 * end up in the final compiled AML, it's just an appearance issue for the 853 /* Internalize the namepath to AML format */ 1165 * NextOp contains the Aml pointer and the Aml lengt [all...] |
| /src/sys/external/bsd/acpica/dist/dispatcher/ |
| dscontrol.c | 203 (WalkState->ParserState.Aml - 1)) 232 WalkState->ParserState.Aml - 1; 333 * written AML when the hardware does not respond within a while 477 __UNCONST("Executed AML Breakpoint opcode"));
|
| dspkginit.c | 195 * BIOS code modifies the AML on the fly to adjust the NumElements, and 197 * other AML interpreters. 293 ObjDesc->Package.AmlStart = WalkState->Aml; 316 * package elements is not supported by the AML interpreter, 325 * 1) No known AML interpreter supports this type of construct 575 Status = AcpiNsLookup (&ScopeInfo, (char *) Element->Reference.Aml, 591 * If the AML actually tries to use such a package, the unresolved 603 (char *) Element->Reference.Aml, NULL, &ExternalPath);
|
| /src/sys/external/bsd/acpica/dist/namespace/ |
| nsxfname.c | 701 /* First AML opcode in the table must be a control method */ 703 ParserState.Aml = Buffer + sizeof (ACPI_TABLE_HEADER); 710 /* Extract method information from the raw AML */ 712 ParserState.Aml += AcpiPsGetOpcodeSize (Opcode); 716 MethodFlags = *ParserState.Aml++; 717 AmlStart = ParserState.Aml; 768 /* Copy the method AML to the local buffer */ 795 * Flag indicates AML buffer is dynamic, must be deleted later.
|