ReactOS  0.4.15-dev-309-g7c8d563
excreate.c File Reference
#include "acpi.h"
#include "accommon.h"
#include "acinterp.h"
#include "amlcode.h"
#include "acnamesp.h"
Include dependency graph for excreate.c:

Go to the source code of this file.

Macros

#define _COMPONENT   ACPI_EXECUTER
 

Functions

ACPI_STATUS AcpiExCreateAlias (ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreateEvent (ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreateMutex (ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreateRegion (UINT8 *AmlStart, UINT32 AmlLength, UINT8 SpaceId, ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreateProcessor (ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreatePowerResource (ACPI_WALK_STATE *WalkState)
 
ACPI_STATUS AcpiExCreateMethod (UINT8 *AmlStart, UINT32 AmlLength, ACPI_WALK_STATE *WalkState)
 

Macro Definition Documentation

◆ _COMPONENT

#define _COMPONENT   ACPI_EXECUTER

Definition at line 51 of file excreate.c.

Function Documentation

◆ AcpiExCreateAlias()

ACPI_STATUS AcpiExCreateAlias ( ACPI_WALK_STATE WalkState)

Definition at line 68 of file excreate.c.

70 {
71  ACPI_NAMESPACE_NODE *TargetNode;
72  ACPI_NAMESPACE_NODE *AliasNode;
74 
75 
76  ACPI_FUNCTION_TRACE (ExCreateAlias);
77 
78 
79  /* Get the source/alias operands (both namespace nodes) */
80 
81  AliasNode = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
82  TargetNode = (ACPI_NAMESPACE_NODE *) WalkState->Operands[1];
83 
84  if ((TargetNode->Type == ACPI_TYPE_LOCAL_ALIAS) ||
85  (TargetNode->Type == ACPI_TYPE_LOCAL_METHOD_ALIAS))
86  {
87  /*
88  * Dereference an existing alias so that we don't create a chain
89  * of aliases. With this code, we guarantee that an alias is
90  * always exactly one level of indirection away from the
91  * actual aliased name.
92  */
93  TargetNode = ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, TargetNode->Object);
94  }
95 
96  /* Ensure that the target node is valid */
97 
98  if (!TargetNode)
99  {
101  }
102 
103  /* Construct the alias object (a namespace node) */
104 
105  switch (TargetNode->Type)
106  {
107  case ACPI_TYPE_METHOD:
108  /*
109  * Control method aliases need to be differentiated with
110  * a special type
111  */
112  AliasNode->Type = ACPI_TYPE_LOCAL_METHOD_ALIAS;
113  break;
114 
115  default:
116  /*
117  * All other object types.
118  *
119  * The new alias has the type ALIAS and points to the original
120  * NS node, not the object itself.
121  */
122  AliasNode->Type = ACPI_TYPE_LOCAL_ALIAS;
123  AliasNode->Object = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, TargetNode);
124  break;
125  }
126 
127  /* Since both operands are Nodes, we don't need to delete them */
128 
129  AliasNode->Object = ACPI_CAST_PTR (ACPI_OPERAND_OBJECT, TargetNode);
131 }
#define AE_NULL_OBJECT
Definition: acexcep.h:117
union acpi_operand_object * Object
Definition: aclocal.h:187
#define ACPI_TYPE_LOCAL_ALIAS
Definition: actypes.h:712
UINT32 ACPI_STATUS
Definition: actypes.h:460
#define ACPI_TYPE_LOCAL_METHOD_ALIAS
Definition: actypes.h:713
#define ACPI_TYPE_METHOD
Definition: actypes.h:687
Status
Definition: gdiplustypes.h:24
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
#define ACPI_FUNCTION_TRACE(a)
Definition: acoutput.h:480
#define ACPI_CAST_PTR(t, p)
Definition: actypes.h:544
#define AE_OK
Definition: acexcep.h:97

Referenced by AcpiDsLoad2EndOp().

◆ AcpiExCreateEvent()

ACPI_STATUS AcpiExCreateEvent ( ACPI_WALK_STATE WalkState)

Definition at line 147 of file excreate.c.

149 {
151  ACPI_OPERAND_OBJECT *ObjDesc;
152 
153 
154  ACPI_FUNCTION_TRACE (ExCreateEvent);
155 
156 
158  if (!ObjDesc)
159  {
161  goto Cleanup;
162  }
163 
164  /*
165  * Create the actual OS semaphore, with zero initial units -- meaning
166  * that the event is created in an unsignalled state
167  */
169  &ObjDesc->Event.OsSemaphore);
170  if (ACPI_FAILURE (Status))
171  {
172  goto Cleanup;
173  }
174 
175  /* Attach object to the Node */
176 
178  (ACPI_NAMESPACE_NODE *) WalkState->Operands[0],
179  ObjDesc, ACPI_TYPE_EVENT);
180 
181 Cleanup:
182  /*
183  * Remove local reference to the object (on error, will cause deletion
184  * of both object and semaphore if present.)
185  */
186  AcpiUtRemoveReference (ObjDesc);
188 }
#define ACPI_TYPE_EVENT
Definition: actypes.h:686
#define AE_NO_MEMORY
Definition: acexcep.h:112
UINT32 ACPI_STATUS
Definition: actypes.h:460
#define ACPI_FAILURE(a)
Definition: acexcep.h:95
ACPI_OBJECT_EVENT Event
Definition: acobject.h:522
ACPI_STATUS AcpiOsCreateSemaphore(UINT32 MaxUnits, UINT32 InitialUnits, ACPI_SEMAPHORE *OutHandle)
Definition: osl.c:352
static const WCHAR Cleanup[]
Definition: register.c:80
Status
Definition: gdiplustypes.h:24
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
#define ACPI_FUNCTION_TRACE(a)
Definition: acoutput.h:480
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
#define ACPI_NO_UNIT_LIMIT
Definition: acpiosxf.h:67
ACPI_OBJECT_COMMON_HEADER ACPI_SEMAPHORE OsSemaphore
Definition: acobject.h:178
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655

Referenced by AcpiDsLoad2EndOp().

◆ AcpiExCreateMethod()

ACPI_STATUS AcpiExCreateMethod ( UINT8 AmlStart,
UINT32  AmlLength,
ACPI_WALK_STATE WalkState 
)

Definition at line 483 of file excreate.c.

487 {
488  ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
489  ACPI_OPERAND_OBJECT *ObjDesc;
491  UINT8 MethodFlags;
492 
493 
494  ACPI_FUNCTION_TRACE_PTR (ExCreateMethod, WalkState);
495 
496 
497  /* Create a new method object */
498 
500  if (!ObjDesc)
501  {
503  goto Exit;
504  }
505 
506  /* Save the method's AML pointer and length */
507 
508  ObjDesc->Method.AmlStart = AmlStart;
509  ObjDesc->Method.AmlLength = AmlLength;
510  ObjDesc->Method.Node = Operand[0];
511 
512  /*
513  * Disassemble the method flags. Split off the ArgCount, Serialized
514  * flag, and SyncLevel for efficiency.
515  */
516  MethodFlags = (UINT8) Operand[1]->Integer.Value;
517  ObjDesc->Method.ParamCount = (UINT8)
518  (MethodFlags & AML_METHOD_ARG_COUNT);
519 
520  /*
521  * Get the SyncLevel. If method is serialized, a mutex will be
522  * created for this method when it is parsed.
523  */
524  if (MethodFlags & AML_METHOD_SERIALIZED)
525  {
527 
528  /*
529  * ACPI 1.0: SyncLevel = 0
530  * ACPI 2.0: SyncLevel = SyncLevel in method declaration
531  */
532  ObjDesc->Method.SyncLevel = (UINT8)
533  ((MethodFlags & AML_METHOD_SYNC_LEVEL) >> 4);
534  }
535 
536  /* Attach the new object to the method Node */
537 
539  ObjDesc, ACPI_TYPE_METHOD);
540 
541  /* Remove local reference to the object */
542 
543  AcpiUtRemoveReference (ObjDesc);
544 
545 Exit:
546  /* Remove a reference to the operand */
547 
548  AcpiUtRemoveReference (Operand[1]);
550 }
UINT8 * AmlStart
Definition: acobject.h:220
#define AE_NO_MEMORY
Definition: acexcep.h:112
#define ACPI_METHOD_SERIALIZED
Definition: acobject.h:237
ACPI_OBJECT_COMMON_HEADER UINT8 InfoFlags
Definition: acobject.h:215
UINT32 ACPI_STATUS
Definition: actypes.h:460
#define AML_METHOD_SERIALIZED
Definition: amlcode.h:506
#define AML_METHOD_ARG_COUNT
Definition: amlcode.h:505
#define ACPI_FUNCTION_TRACE_PTR(a, b)
Definition: acoutput.h:481
#define AML_METHOD_SYNC_LEVEL
Definition: amlcode.h:507
#define ACPI_TYPE_METHOD
Definition: actypes.h:687
static void Exit(void)
Definition: sock.c:1331
Status
Definition: gdiplustypes.h:24
ACPI_OBJECT_METHOD Method
Definition: acobject.h:523
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655
unsigned char UINT8
union acpi_operand_object * Node
Definition: acobject.h:219

Referenced by AcpiDsLoad1EndOp(), and AcpiDsLoad2EndOp().

◆ AcpiExCreateMutex()

ACPI_STATUS AcpiExCreateMutex ( ACPI_WALK_STATE WalkState)

Definition at line 206 of file excreate.c.

208 {
210  ACPI_OPERAND_OBJECT *ObjDesc;
211 
212 
214 
215 
216  /* Create the new mutex object */
217 
219  if (!ObjDesc)
220  {
222  goto Cleanup;
223  }
224 
225  /* Create the actual OS Mutex */
226 
227  Status = AcpiOsCreateMutex (&ObjDesc->Mutex.OsMutex);
228  if (ACPI_FAILURE (Status))
229  {
230  goto Cleanup;
231  }
232 
233  /* Init object and attach to NS node */
234 
235  ObjDesc->Mutex.SyncLevel = (UINT8) WalkState->Operands[1]->Integer.Value;
236  ObjDesc->Mutex.Node = (ACPI_NAMESPACE_NODE *) WalkState->Operands[0];
237 
239  ObjDesc->Mutex.Node, ObjDesc, ACPI_TYPE_MUTEX);
240 
241 
242 Cleanup:
243  /*
244  * Remove local reference to the object (on error, will cause deletion
245  * of both object and semaphore if present.)
246  */
247  AcpiUtRemoveReference (ObjDesc);
249 }
#define AE_NO_MEMORY
Definition: acexcep.h:112
ACPI_MUTEX OsMutex
Definition: acobject.h:188
ACPI_OBJECT_MUTEX Mutex
Definition: acobject.h:524
UINT32 ACPI_STATUS
Definition: actypes.h:460
ACPI_OBJECT_COMMON_HEADER UINT8 SyncLevel
Definition: acobject.h:186
#define ACPI_FAILURE(a)
Definition: acexcep.h:95
#define ACPI_FUNCTION_TRACE_PTR(a, b)
Definition: acoutput.h:481
ACPI_OBJECT_INTEGER Integer
Definition: acobject.h:518
static const WCHAR Cleanup[]
Definition: register.c:80
Status
Definition: gdiplustypes.h:24
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
#define ACPI_TYPE_MUTEX
Definition: actypes.h:688
ACPI_STATUS AcpiOsCreateMutex(ACPI_MUTEX *OutHandle)
Definition: osl.c:271
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655
#define ACPI_WALK_OPERANDS
Definition: acinterp.h:48
unsigned char UINT8
#define AE_OK
Definition: acexcep.h:97
ACPI_NAMESPACE_NODE * Node
Definition: acobject.h:193

Referenced by AcpiDsLoad2EndOp().

◆ AcpiExCreatePowerResource()

ACPI_STATUS AcpiExCreatePowerResource ( ACPI_WALK_STATE WalkState)

Definition at line 432 of file excreate.c.

434 {
435  ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
437  ACPI_OPERAND_OBJECT *ObjDesc;
438 
439 
440  ACPI_FUNCTION_TRACE_PTR (ExCreatePowerResource, WalkState);
441 
442 
443  /* Create the power resource object */
444 
446  if (!ObjDesc)
447  {
449  }
450 
451  /* Initialize the power object from the operands */
452 
453  ObjDesc->PowerResource.SystemLevel = (UINT8) Operand[1]->Integer.Value;
454  ObjDesc->PowerResource.ResourceOrder = (UINT16) Operand[2]->Integer.Value;
455 
456  /* Install the power resource object in the parent Node */
457 
459  ObjDesc, ACPI_TYPE_POWER);
460 
461  /* Remove local reference to the object */
462 
463  AcpiUtRemoveReference (ObjDesc);
465 }
#define AE_NO_MEMORY
Definition: acexcep.h:112
#define ACPI_TYPE_POWER
Definition: actypes.h:690
UINT32 ACPI_STATUS
Definition: actypes.h:460
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_NOTIFY_INFO UINT32 SystemLevel
Definition: acobject.h:279
#define ACPI_FUNCTION_TRACE_PTR(a, b)
Definition: acoutput.h:481
ACPI_OBJECT_POWER_RESOURCE PowerResource
Definition: acobject.h:528
ACPI_OBJECT_INTEGER Integer
Definition: acobject.h:518
Status
Definition: gdiplustypes.h:24
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
unsigned short UINT16
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655
unsigned char UINT8

Referenced by AcpiDsLoad2EndOp().

◆ AcpiExCreateProcessor()

ACPI_STATUS AcpiExCreateProcessor ( ACPI_WALK_STATE WalkState)

Definition at line 380 of file excreate.c.

382 {
383  ACPI_OPERAND_OBJECT **Operand = &WalkState->Operands[0];
384  ACPI_OPERAND_OBJECT *ObjDesc;
386 
387 
388  ACPI_FUNCTION_TRACE_PTR (ExCreateProcessor, WalkState);
389 
390 
391  /* Create the processor object */
392 
394  if (!ObjDesc)
395  {
397  }
398 
399  /* Initialize the processor object from the operands */
400 
401  ObjDesc->Processor.ProcId = (UINT8) Operand[1]->Integer.Value;
402  ObjDesc->Processor.Length = (UINT8) Operand[3]->Integer.Value;
403  ObjDesc->Processor.Address = (ACPI_IO_ADDRESS) Operand[2]->Integer.Value;
404 
405  /* Install the processor object in the parent Node */
406 
408  ObjDesc, ACPI_TYPE_PROCESSOR);
409 
410  /* Remove local reference to the object */
411 
412  AcpiUtRemoveReference (ObjDesc);
414 }
#define AE_NO_MEMORY
Definition: acexcep.h:112
ACPI_OBJECT_PROCESSOR Processor
Definition: acobject.h:529
UINT32 ACPI_STATUS
Definition: actypes.h:460
#define ACPI_FUNCTION_TRACE_PTR(a, b)
Definition: acoutput.h:481
ACPI_COMMON_NOTIFY_INFO ACPI_IO_ADDRESS Address
Definition: acobject.h:294
ACPI_OBJECT_INTEGER Integer
Definition: acobject.h:518
#define ACPI_TYPE_PROCESSOR
Definition: actypes.h:691
Status
Definition: gdiplustypes.h:24
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
Definition: acstruct.h:105
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655
ACPI_OBJECT_COMMON_HEADER UINT8 ProcId
Definition: acobject.h:291
unsigned char UINT8

Referenced by AcpiDsLoad2EndOp().

◆ AcpiExCreateRegion()

ACPI_STATUS AcpiExCreateRegion ( UINT8 AmlStart,
UINT32  AmlLength,
UINT8  SpaceId,
ACPI_WALK_STATE WalkState 
)

Definition at line 268 of file excreate.c.

273 {
275  ACPI_OPERAND_OBJECT *ObjDesc;
277  ACPI_OPERAND_OBJECT *RegionObj2;
278 
279 
280  ACPI_FUNCTION_TRACE (ExCreateRegion);
281 
282 
283  /* Get the Namespace Node */
284 
285  Node = WalkState->Op->Common.Node;
286 
287  /*
288  * If the region object is already attached to this node,
289  * just return
290  */
292  {
294  }
295 
296  /*
297  * Space ID must be one of the predefined IDs, or in the user-defined
298  * range
299  */
301  {
302  /*
303  * Print an error message, but continue. We don't want to abort
304  * a table load for this exception. Instead, if the region is
305  * actually used at runtime, abort the executing method.
306  */
308  "Invalid/unknown Address Space ID: 0x%2.2X", SpaceId));
309  }
310 
311  ACPI_DEBUG_PRINT ((ACPI_DB_LOAD, "Region Type - %s (0x%X)\n",
313 
314  /* Create the region descriptor */
315 
317  if (!ObjDesc)
318  {
320  goto Cleanup;
321  }
322 
323  /*
324  * Remember location in AML stream of address & length
325  * operands since they need to be evaluated at run time.
326  */
327  RegionObj2 = AcpiNsGetSecondaryObject (ObjDesc);
328  RegionObj2->Extra.AmlStart = AmlStart;
329  RegionObj2->Extra.AmlLength = AmlLength;
330  RegionObj2->Extra.Method_REG = NULL;
331  if (WalkState->ScopeInfo)
332  {
333  RegionObj2->Extra.ScopeNode = WalkState->ScopeInfo->Scope.Node;
334  }
335  else
336  {
337  RegionObj2->Extra.ScopeNode = Node;
338  }
339 
340  /* Init the region from the operands */
341 
342  ObjDesc->Region.SpaceId = SpaceId;
343  ObjDesc->Region.Address = 0;
344  ObjDesc->Region.Length = 0;
345  ObjDesc->Region.Node = Node;
346  ObjDesc->Region.Handler = NULL;
347  ObjDesc->Common.Flags &=
350 
351  /* Install the new region object in the parent Node */
352 
354 
355 
356 Cleanup:
357 
358  /* Remove local reference to the object */
359 
360  AcpiUtRemoveReference (ObjDesc);
362 }
ACPI_PARSE_OBJ_COMMON Common
Definition: aclocal.h:1078
union acpi_operand_object * Handler
Definition: acobject.h:204
#define ACPI_DB_LOAD
Definition: acoutput.h:164
#define AE_NO_MEMORY
Definition: acexcep.h:112
ACPI_NAMESPACE_NODE * Node
Definition: acobject.h:203
ACPI_NAMESPACE_NODE * ScopeNode
Definition: acobject.h:480
BOOLEAN AcpiIsValidSpaceId(UINT8 SpaceId)
Definition: exutils.c:494
UINT8 * AmlStart
Definition: acobject.h:482
UINT32 ACPI_STATUS
Definition: actypes.h:460
ACPI_OBJECT_COMMON_HEADER UINT8 SpaceId
Definition: acobject.h:202
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE ACPI_HANDLE *OutHandle ACPI_HANDLE *OutHandle void *Context void *Context ACPI_EVENT_HANDLER Handler UINT32 UINT32 ACPI_GPE_HANDLER void *Context UINT32 ACPI_NOTIFY_HANDLER void *Context ACPI_ADR_SPACE_TYPE SpaceId
Definition: acpixf.h:828
ACPI_OBJECT_EXTRA Extra
Definition: acobject.h:539
const char * AcpiUtGetRegionName(UINT8 SpaceId)
Definition: utdecode.c:124
union node Node
Definition: types.h:1255
#define AOPOBJ_SETUP_COMPLETE
Definition: acobject.h:99
smooth NULL
Definition: ftsmooth.c:416
#define AE_INFO
Definition: acoutput.h:230
ACPI_OBJECT_REGION Region
Definition: acobject.h:525
ACPI_PARSE_OBJECT * Op
Definition: acstruct.h:118
#define AOPOBJ_OBJECT_INITIALIZED
Definition: acobject.h:97
#define ACPI_DEBUG_PRINT(pl)
Definition: acoutput.h:475
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
Definition: nsobject.c:308
ACPI_GENERIC_STATE * ScopeInfo
Definition: acstruct.h:124
#define AOPOBJ_REG_CONNECTED
Definition: acobject.h:98
ACPI_OBJECT_COMMON_HEADER ACPI_NAMESPACE_NODE * Method_REG
Definition: acobject.h:479
static const WCHAR Cleanup[]
Definition: register.c:80
Status
Definition: gdiplustypes.h:24
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
Definition: nsobject.c:76
#define return_ACPI_STATUS(s)
Definition: acoutput.h:496
#define ACPI_FUNCTION_TRACE(a)
Definition: acoutput.h:480
ACPI_OBJECT_COMMON Common
Definition: acobject.h:517
ACPI_STATE_COMMON ACPI_NAMESPACE_NODE * Node
Definition: aclocal.h:740
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
Definition: utdelete.c:785
#define ACPI_ERROR(plist)
Definition: acoutput.h:240
ACPI_PHYSICAL_ADDRESS Address
Definition: acobject.h:206
#define ACPI_TYPE_REGION
Definition: actypes.h:689
#define AcpiUtCreateInternalObject(t)
Definition: acutils.h:655
#define AE_OK
Definition: acexcep.h:97
ACPI_SCOPE_STATE Scope
Definition: aclocal.h:825
ACPI_OPERAND_OBJECT * AcpiNsGetSecondaryObject(ACPI_OPERAND_OBJECT *ObjDesc)
Definition: nsobject.c:346
UINT32 AmlLength
Definition: acobject.h:483
Definition: dlist.c:348

Referenced by AcpiDsLoad1EndOp(), and AcpiDsLoad2EndOp().