excreate.c (91116) | excreate.c (99679) |
---|---|
1/****************************************************************************** 2 * 3 * Module Name: excreate - Named object creation | 1/****************************************************************************** 2 * 3 * Module Name: excreate - Named object creation |
4 * $Revision: 89 $ | 4 * $Revision: 92 $ |
5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. --- 100 unchanged lines hidden (view full) --- 113 * other governmental approval, or letter of assurance, without first obtaining 114 * such license, approval or letter. 115 * 116 *****************************************************************************/ 117 118#define __EXCREATE_C__ 119 120#include "acpi.h" | 5 * 6 *****************************************************************************/ 7 8/****************************************************************************** 9 * 10 * 1. Copyright Notice 11 * 12 * Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp. --- 100 unchanged lines hidden (view full) --- 113 * other governmental approval, or letter of assurance, without first obtaining 114 * such license, approval or letter. 115 * 116 *****************************************************************************/ 117 118#define __EXCREATE_C__ 119 120#include "acpi.h" |
121#include "acparser.h" | |
122#include "acinterp.h" 123#include "amlcode.h" 124#include "acnamesp.h" 125#include "acevents.h" | 121#include "acinterp.h" 122#include "amlcode.h" 123#include "acnamesp.h" 124#include "acevents.h" |
126#include "acdispat.h" | |
127#include "actables.h" 128 129 130#define _COMPONENT ACPI_EXECUTER 131 ACPI_MODULE_NAME ("excreate") 132 133 134/***************************************************************************** 135 * 136 * FUNCTION: AcpiExCreateAlias 137 * | 125#include "actables.h" 126 127 128#define _COMPONENT ACPI_EXECUTER 129 ACPI_MODULE_NAME ("excreate") 130 131 132/***************************************************************************** 133 * 134 * FUNCTION: AcpiExCreateAlias 135 * |
138 * PARAMETERS: WalkState - Current state, contains List of 139 * operands for the opcode | 136 * PARAMETERS: WalkState - Current state, contains operands |
140 * 141 * RETURN: Status 142 * 143 * DESCRIPTION: Create a new named alias 144 * 145 ****************************************************************************/ 146 147ACPI_STATUS --- 178 unchanged lines hidden (view full) --- 326 ACPI_OPERAND_OBJECT *RegionObj2; 327 328 329 ACPI_FUNCTION_TRACE ("ExCreateRegion"); 330 331 332 /* Get the Node from the object stack */ 333 | 137 * 138 * RETURN: Status 139 * 140 * DESCRIPTION: Create a new named alias 141 * 142 ****************************************************************************/ 143 144ACPI_STATUS --- 178 unchanged lines hidden (view full) --- 323 ACPI_OPERAND_OBJECT *RegionObj2; 324 325 326 ACPI_FUNCTION_TRACE ("ExCreateRegion"); 327 328 329 /* Get the Node from the object stack */ 330 |
334 Node = WalkState->Op->Node; | 331 Node = WalkState->Op->Common.Node; |
335 336 /* 337 * If the region object is already attached to this node, 338 * just return 339 */ 340 if (AcpiNsGetAttachedObject (Node)) 341 { 342 return_ACPI_STATUS (AE_OK); --- 75 unchanged lines hidden (view full) --- 418 ACPI_TABLE_HEADER *Table; 419 ACPI_OPERAND_OBJECT *RegionObj2; 420 421 422 ACPI_FUNCTION_TRACE ("ExCreateTableRegion"); 423 424 /* Get the Node from the object stack */ 425 | 332 333 /* 334 * If the region object is already attached to this node, 335 * just return 336 */ 337 if (AcpiNsGetAttachedObject (Node)) 338 { 339 return_ACPI_STATUS (AE_OK); --- 75 unchanged lines hidden (view full) --- 415 ACPI_TABLE_HEADER *Table; 416 ACPI_OPERAND_OBJECT *RegionObj2; 417 418 419 ACPI_FUNCTION_TRACE ("ExCreateTableRegion"); 420 421 /* Get the Node from the object stack */ 422 |
426 Node = WalkState->Op->Node; | 423 Node = WalkState->Op->Common.Node; |
427 428 /* 429 * If the region object is already attached to this node, 430 * just return 431 */ 432 if (AcpiNsGetAttachedObject (Node)) 433 { 434 return_ACPI_STATUS (AE_OK); --- 61 unchanged lines hidden (view full) --- 496 return_ACPI_STATUS (Status); 497} 498 499 500/***************************************************************************** 501 * 502 * FUNCTION: AcpiExCreateProcessor 503 * | 424 425 /* 426 * If the region object is already attached to this node, 427 * just return 428 */ 429 if (AcpiNsGetAttachedObject (Node)) 430 { 431 return_ACPI_STATUS (AE_OK); --- 61 unchanged lines hidden (view full) --- 493 return_ACPI_STATUS (Status); 494} 495 496 497/***************************************************************************** 498 * 499 * FUNCTION: AcpiExCreateProcessor 500 * |
504 * PARAMETERS: Op - Op containing the Processor definition and 505 * args 506 * ProcessorNode - Parent Node for the processor object | 501 * PARAMETERS: WalkState - Current state |
507 * 508 * RETURN: Status 509 * 510 * DESCRIPTION: Create a new processor object and populate the fields 511 * 512 * Processor (Name[0], CpuID[1], PblockAddr[2], PblockLength[3]) 513 * 514 ****************************************************************************/ --- 37 unchanged lines hidden (view full) --- 552 return_ACPI_STATUS (Status); 553} 554 555 556/***************************************************************************** 557 * 558 * FUNCTION: AcpiExCreatePowerResource 559 * | 502 * 503 * RETURN: Status 504 * 505 * DESCRIPTION: Create a new processor object and populate the fields 506 * 507 * Processor (Name[0], CpuID[1], PblockAddr[2], PblockLength[3]) 508 * 509 ****************************************************************************/ --- 37 unchanged lines hidden (view full) --- 547 return_ACPI_STATUS (Status); 548} 549 550 551/***************************************************************************** 552 * 553 * FUNCTION: AcpiExCreatePowerResource 554 * |
560 * PARAMETERS: Op - Op containing the PowerResource definition 561 * and args 562 * PowerNode - Parent Node for the power object | 555 * PARAMETERS: WalkState - Current state |
563 * 564 * RETURN: Status 565 * 566 * DESCRIPTION: Create a new PowerResource object and populate the fields 567 * 568 * PowerResource (Name[0], SystemLevel[1], ResourceOrder[2]) 569 * 570 ****************************************************************************/ --- 37 unchanged lines hidden (view full) --- 608 609 610/***************************************************************************** 611 * 612 * FUNCTION: AcpiExCreateMethod 613 * 614 * PARAMETERS: AmlStart - First byte of the method's AML 615 * AmlLength - AML byte count for this method | 556 * 557 * RETURN: Status 558 * 559 * DESCRIPTION: Create a new PowerResource object and populate the fields 560 * 561 * PowerResource (Name[0], SystemLevel[1], ResourceOrder[2]) 562 * 563 ****************************************************************************/ --- 37 unchanged lines hidden (view full) --- 601 602 603/***************************************************************************** 604 * 605 * FUNCTION: AcpiExCreateMethod 606 * 607 * PARAMETERS: AmlStart - First byte of the method's AML 608 * AmlLength - AML byte count for this method |
616 * MethodFlags - AML method flag byte 617 * Method - Method Node | 609 * WalkState - Current state |
618 * 619 * RETURN: Status 620 * 621 * DESCRIPTION: Create a new method object 622 * 623 ****************************************************************************/ 624 625ACPI_STATUS --- 69 unchanged lines hidden --- | 610 * 611 * RETURN: Status 612 * 613 * DESCRIPTION: Create a new method object 614 * 615 ****************************************************************************/ 616 617ACPI_STATUS --- 69 unchanged lines hidden --- |