Deleted Added
sdiff udiff text old ( 91116 ) new ( 99679 )
full compact
1/******************************************************************************
2 *
3 * Module Name: excreate - Named object creation
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"
121#include "acinterp.h"
122#include "amlcode.h"
123#include "acnamesp.h"
124#include "acevents.h"
125#include "actables.h"
126
127
128#define _COMPONENT ACPI_EXECUTER
129 ACPI_MODULE_NAME ("excreate")
130
131
132/*****************************************************************************
133 *
134 * FUNCTION: AcpiExCreateAlias
135 *
136 * PARAMETERS: WalkState - Current state, contains operands
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
331 Node = WalkState->Op->Common.Node;
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
423 Node = WalkState->Op->Common.Node;
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 *
501 * PARAMETERS: WalkState - Current state
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 *
555 * PARAMETERS: WalkState - Current state
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
609 * WalkState - Current state
610 *
611 * RETURN: Status
612 *
613 * DESCRIPTION: Create a new method object
614 *
615 ****************************************************************************/
616
617ACPI_STATUS

--- 69 unchanged lines hidden ---