evrgnini.c revision 186507a7cf6e4b4155e9ef89631777a96633ac0e
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill/******************************************************************************
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Module Name: evrgnini- ACPI AddressSpace (OpRegion) init
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * $Revision: 1.78 $
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill *****************************************************************************/
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill/******************************************************************************
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 1. Copyright Notice
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Some or all of this work - Copyright (c) 1999 - 2005, Intel Corp.
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * All rights reserved.
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 2.1. This is your license from Intel Corp. under its intellectual property
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * rights. You may have additional license terms from the party that provided
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * you this software, covering your right to use that party's intellectual
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * property rights.
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * copy of the source code appearing in this file ("Covered Code") an
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * irrevocable, perpetual, worldwide license under Intel's copyrights in the
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * base code distributed originally by Intel ("Original Intel Code") to copy,
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * make derivatives, distribute, use and display any portion of the Covered
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Code in any form, with the right to sublicense such rights; and
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * license (with the right to sublicense), under only those claims of Intel
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * patents that are infringed by the Original Intel Code, to make, use, sell,
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * offer to sell, and import the Covered Code and derivative works thereof
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * solely to the minimum extent necessary to exercise the above copyright
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * license, and in no event shall the patent license extend to any additions
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * to or modifications of the Original Intel Code. No other license or right
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * is granted directly or by implication, estoppel or otherwise;
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * The above copyright and patent license is granted only if the following
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * conditions are met:
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 3. Conditions
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * 3.1. Redistribution of Source with Rights to Further Distribute Source.
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Redistribution of source code of any substantial portion of the Covered
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Code or modification with rights to further distribute source must include
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * the above Copyright Notice, the above License, this list of Conditions,
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * and the following Disclaimer and Export Compliance provision. In addition,
2e0552679e3175533ade93573ac1229d20a8367bBryan Cantrill * Licensee must cause all Covered Code to which Licensee contributes to
#define __EVRGNINI_C__
#include "acpi.h"
#include "acevents.h"
#include "acnamesp.h"
void *HandlerContext,
void **RegionContext)
if (*RegionContext)
if (!(LocalRegionContext))
void *HandlerContext,
void **RegionContext)
void *HandlerContext,
void **RegionContext)
if (!HandlerObj)
if (PciId)
sizeof (PCI_ROOT_HID_STRING)) ||
sizeof (PCI_EXPRESS_ROOT_HID_STRING)))))
if (!PciId)
void *HandlerContext,
void **RegionContext)
void *HandlerContext,
void **RegionContext)
void *HandlerContext,
void **RegionContext)
if (!RegionObj)
if (!RegionObj2)
while (Node)
if (ObjDesc)
case ACPI_TYPE_DEVICE:
case ACPI_TYPE_PROCESSOR:
case ACPI_TYPE_THERMAL:
while (HandlerObj)
if (AcpiNsLocked)
if (AcpiNsLocked)