/src/sys/external/bsd/acpica/dist/dispatcher/ |
dsmethod.c | 3 * Module Name: dsmethod - Parser/Interpreter interface - control method parsing 181 * PARAMETERS: Node - Namespace Node of the method 182 * ObjDesc - Method object attached to node 186 * DESCRIPTION: Parse a control method AML to scan for control methods that 190 * there is only a problem if the method actually blocks during execution. 193 * detect whether a method will block or not, so we simply mark all suspicious 197 * control method. 215 "Method auto-serialization parse [%4.4s] %p\n", 218 /* Create/Init a root op for the method parse tree */ 220 Op = AcpiPsAllocOp (AML_METHOD_OP, ObjDesc->Method.AmlStart) [all...] |
dsinit.c | 239 * Auto-serialization support. We will examine each method that is 242 * the method is entered by two or more threads and an attempt is 244 * an AE_ALREADY_EXISTS exception and method abort. 255 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) 263 /* Parse/scan method and serialize it if necessary */ 266 if (ObjDesc->Method.InfoFlags & ACPI_METHOD_SERIALIZED) 268 /* Method was just converted to Serialized */
|
dsdebug.c | 228 * PARAMETERS: Status - Method execution status 234 * DESCRIPTION: Called when a method has been aborted because of an error. 235 * Dumps the method execution stack. 272 * If there is no Thread, we are not actually executing a method. 282 /* Display exception and method name */ 285 "\n**** Exception %s during execution of method ", 304 (ACPI_NAMESPACE_NODE *) MethodDesc->Method.Node, 309 " Method [%4.4s] executing: ", 312 /* First method is the currently executing method */ [all...] |
/src/sys/external/bsd/acpica/dist/tests/misc/ |
converterSample.asl | 37 Method(MAIN) { 65 Method(SCOP)
|
badcode.asl | 65 // Invalid SyncLevel in method declaration 67 Method (MTH1, 0, NotSerialized, 32) 97 Method (MTH2) 116 Method (MTH3) 118 // Method MTH2 above does not always return a value 123 // Method MTH4 does not explicitly return a value 125 Method (MTH4) {} 126 Method (MTH5) {Store (MTH4(), Local0)} 164 Method (_OSC, 5) 181 Method (_L1D [all...] |
grammar.asl | 59 grammar.asl 601: Method (RCIV, 1) 63 Remark 5073 - ^ Recursive method call (RCIV) 65 grammar.asl 937: Method (_ERR, 2) 66 Warning 1077 - ^ Reserved method has too few arguments (_ERR requires 3) 83 grammar.asl 1804: Method (COND) 93 Error 4050 - ^ Method local variable is not initialized (Local0) 95 grammar.asl 6886: Name (_HID, "*PNP0C0A") // Control Method Battey ID 122 Method (_STA) 127 Method (_INI) 137 Method (_INI [all...] |
/src/sys/external/bsd/acpica/dist/debugger/ |
dbmethod.c | 188 * DESCRIPTION: Set a breakpoint in a control method at the specified 205 AcpiOsPrintf ("There is no method currently executing\n"); 235 * DESCRIPTION: Set a breakpoint in a control method at the specified 248 AcpiOsPrintf ("There is no method currently executing\n"); 266 * DESCRIPTION: Set a local or argument for the running control method. 325 AcpiOsPrintf ("There is no method currently executing\n"); 344 /* Set a method argument */ 368 /* Set a method local */ 425 AcpiOsPrintf ("There is no method currently executing\n"); 442 * PARAMETERS: Name - Name of control method [all...] |
dbutils.c | 522 ACPI_PARSE_OBJECT *Method; 539 Method = Op; 552 WalkState->ParserState.AmlStart = Method->Named.Data; 554 WalkState->ParserState.PkgEnd = Method->Named.Data + 555 Method->Named.Length; 565 BaseAmlOffset = (Method->Common.Value.Arg)->Common.AmlOffset + 1; 566 StartOp = (Method->Common.Value.Arg)->Common.Next; 581 * Method = (ACPI_DEFERRED_OP *) Op; 582 * Status = AcpiPsParseAml (Op, Method->Body, Method->BodyLength) [all...] |
dbexec.c | 3 * Module Name: dbexec - debugger control method execution 255 * DESCRIPTION: Execute a control method. Used to evaluate objects via the 297 "While parsing method arguments")); 311 /* Do the actual method execution */ 327 "Aborting top-level method")); 356 * PARAMETERS: Info - Valid method info 360 * DESCRIPTION: Setup info segment prior to method execution 417 ACPI_EXCEPTION ((AE_INFO, Status, "During setup for method execution")); 474 * DESCRIPTION: Execute a control method. Name is relative to the current 493 if (ObjDesc->Method.ParamCount [all...] |
dbobject.c | 173 * PARAMETERS: Status - Method execution status 178 * DESCRIPTION: Called when a method has been aborted because of an error. 179 * Dumps the method execution stack, and the method locals/args, 218 * If there is no Thread, we are not actually executing a method. 228 /* Display the method locals and arguments */ 334 AcpiOsPrintf (" [Method Arg]"); 338 AcpiOsPrintf (" [Method Local]"); 551 * PARAMETERS: WalkState - State for current method 555 * DESCRIPTION: Display all locals for the currently running control method [all...] |
/src/sys/external/bsd/acpica/dist/parser/ |
psxface.c | 184 * method execution 219 * PARAMETERS: Info - Method info block, contains: 220 * Node - Method Node to execute 221 * ObjDesc - Method object 222 * Parameters - List of parameters to pass to the method, 225 * ReturnObject - Where to put method's return value (if 228 * ReturnObject - Where to put method's return value (if 234 * DESCRIPTION: Execute a control method 254 /* Validate the Info and method Node */ 261 /* Init for new method, wait on concurrency semaphore * [all...] |
psparse.c | 461 * A control method was terminated via a RETURN statement. 462 * The walk of this method is complete. 521 /* A method call (invocation) -- transfer control */ 589 /* Executing a control method - additional cleanup */ 601 * If executing a method, the starting SyncLevel is this method's 607 WalkState->MethodDesc->Method.SyncLevel; 614 * executing control method. 620 * handles nested control method invocations without recursion. 630 * The ParseLoop executes AML until the method terminate [all...] |
psargs.c | 350 * ArgCount - If the namepath points to a control method 351 * the method's argument is returned here. 353 * start of a method call 357 * DESCRIPTION: Get next name (if method call, return # of required args). 359 * if the name represents a control method. If a method 360 * is found, the number of arguments to the method is returned. 407 * If this name is a control method invocation, we must 408 * setup the method call 419 * the method invocation namestring, so we need to restore th [all...] |
/src/sys/external/bsd/acpica/dist/namespace/ |
nsparse.c | 175 * large control method. 227 /* Create, initialize, and link a new temporary method object */ 245 "%s: Create table pseudo-method for [%4.4s] @%p, method %p\n", 248 MethodObj->Method.AmlStart = AmlStart; 249 MethodObj->Method.AmlLength = AmlLength; 250 MethodObj->Method.OwnerId = OwnerId; 251 MethodObj->Method.InfoFlags |= ACPI_METHOD_MODULE_LEVEL; 426 * Executes the AML table as one large control method.
|
nsxfname.c | 390 * 1) _SUB method was removed (11/2015) 391 * 2) _STA method was removed (02/2018) 444 ParamCount = Node->Object->Method.ParamCount; 465 /* Execute the Device._HID method */ 474 /* Execute the Device._UID method */ 483 /* Execute the Device._CID method */ 494 /* Execute the Device._CLS method */ 529 /* Execute the Device._ADR method */ 658 * PARAMETERS: Buffer - An ACPI table containing one control method 662 * DESCRIPTION: Install a control method into the namespace. If the metho [all...] |
nsarguments.c | 166 * PARAMETERS: Info - Method execution information block 189 * Also, ignore typecheck if warnings/errors if this method 218 /* Prevent any additional typechecking for this method */ 231 * Node - Namespace node for the method/object 263 * If this object is not a control method, we can check if the ACPI 264 * spec requires that it be a method. 270 /* Object requires args, must be implemented as a method */ 273 "Object (%s) must be a control method with %u arguments", 278 /* Object requires no args and no return value, must be a method */ 281 "Object (%s) must be a control method " [all...] |
nsdump.c | 392 /* Temp nodes are those nodes created by a control method */ 444 (UINT32) ObjDesc->Method.ParamCount, 445 ObjDesc->Method.AmlLength, ObjDesc->Method.AmlStart); 608 /* Name is a Method and its AML offset/length are set */ 610 AcpiOsPrintf (" M:%p-%X\n", ObjDesc->Method.AmlStart, 611 ObjDesc->Method.AmlLength); 741 ObjDesc = (void *) ObjDesc->Method.AmlStart;
|
nseval.c | 3 * Module Name: nseval - Object evaluation, includes control method execution 170 * PrefixNode - Prefix or Method/Object Node to execute 171 * RelativePath - Name of method to execute, If NULL, the 173 * Parameters - List of parameters to pass to the method, 177 * ReturnObject - Where to put method's return value (if 183 * DESCRIPTION: Execute a control method or return the current value of an 224 * For a method alias, we must grab the actual method node so that 292 * this method/object matches the actual ASL/AML definition. 305 * 2) The object is a control method -- execute i [all...] |
nsaccess.c | 236 * 0 _OSI Method 00203678 00 Args 1 Len 0000 Aml 00000000 317 ObjDesc->Method.ParamCount = (UINT8) ACPI_TO_INTEGER (Val); 324 NewNode->Value = ObjDesc->Method.ParamCount; 326 /* Mark this as a very SPECIAL method (_OSI) */ 328 ObjDesc->Method.InfoFlags = ACPI_METHOD_INTERNAL_ONLY; 329 ObjDesc->Method.Dispatch.Implementation = AcpiUtOsiImplementation; 507 * Device/Method, etc.) It could be a Package or other object
|
nsxfeval.c | 177 * ExternalParams - List of parameters to pass to a method, 310 * ExternalParams - List of parameters to pass to method, 313 * ReturnBuffer - Where to put method's return value (if 453 /* Check incoming argument count against the method definition */ 455 if (Info->ObjDesc->Method.ParamCount > Info->ParamCount) 460 Info->ObjDesc->Method.ParamCount)); 466 else if (Info->ObjDesc->Method.ParamCount < Info->ParamCount) 471 Info->ObjDesc->Method.ParamCount)); 475 Info->ParamCount = Info->ObjDesc->Method.ParamCount; 480 * method must be converted to internal object [all...] |
/src/sys/external/bsd/acpica/dist/executer/ |
excreate.c | 218 * Control method aliases need to be differentiated with 414 * actually used at runtime, abort the executing method. 582 * PARAMETERS: AmlStart - First byte of the method's AML 583 * AmlLength - AML byte count for this method 588 * DESCRIPTION: Create a new method object 607 /* Create a new method object */ 616 /* Save the method's AML pointer and length */ 618 ObjDesc->Method.AmlStart = AmlStart; 619 ObjDesc->Method.AmlLength = AmlLength; 620 ObjDesc->Method.Node = Operand[0] [all...] |
extrace.c | 177 * PARAMETERS: Name - Whether method name should be matched, 254 return "Method"; 276 * PARAMETERS: Params - AML method arguments 277 * Count - numer of method arguments 382 * PARAMETERS: MethodNode - Node of the method 383 * ObjDesc - The method object 385 * a method. 389 * DESCRIPTION: Start control method execution trace 434 ObjDesc ? ObjDesc->Method.AmlStart : NULL, Pathname); 448 * PARAMETERS: MethodNode - Node of the method [all...] |
exdump.c | 254 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.InfoFlags), "Info Flags"}, 255 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ParamCount), "Parameter Count"}, 256 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.SyncLevel), "Sync Level"}, 257 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.Mutex), "Mutex"}, 258 {ACPI_EXD_UINT16, ACPI_EXD_OFFSET (Method.OwnerId), "Owner Id"}, 259 {ACPI_EXD_UINT8, ACPI_EXD_OFFSET (Method.ThreadCount), "Thread Count"}, 260 {ACPI_EXD_UINT32, ACPI_EXD_OFFSET (Method.AmlLength), "Aml Length"}, 261 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Method.AmlStart), "Aml Start"} 386 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET (Extra.Method_REG), "_REG Method"}, 984 AcpiOsPrintf ("Method(%X) @ %p:%X\n" [all...] |
/src/sys/external/bsd/acpica/dist/utilities/ |
utdelete.c | 321 "***** Method %p\n", Object)); 323 /* Delete the method mutex if it exists */ 325 if (Object->Method.Mutex) 327 AcpiOsDeleteMutex (Object->Method.Mutex->Mutex.OsMutex); 328 AcpiUtDeleteObjectDesc (Object->Method.Mutex); 329 Object->Method.Mutex = NULL; 332 if (Object->Method.Node) 334 Object->Method.Node = NULL; 345 * are installed in this list. (Not created within a method)
|
/src/sys/external/bsd/acpica/dist/tools/acpiexec/ |
aetables.h | 175 static unsigned char Ssdt1Code[] = /* Has method _T98 */ 187 unsigned char Ssdt2Code[] = /* Has method _T99 */ 199 unsigned char Ssdt3Code[] = /* OEM9: Has method _T97 */ 209 unsigned char Ssdt4Code[] = /* Has method _T96 */ 357 * Example installable control method 361 * Method (\_SI_._T97, 1, Serialized) 363 * Store ("Example installed method", Debug) 399 Method (_INI) 406 Method (_E07) {} 407 Method (_E22) { [all...] |