accommon.h revision 1.1
11.1Sjruoho/******************************************************************************
21.1Sjruoho *
31.1Sjruoho * Name: accommon.h - Common include files for generation of ACPICA source
41.1Sjruoho *
51.1Sjruoho *****************************************************************************/
61.1Sjruoho
71.1Sjruoho/******************************************************************************
81.1Sjruoho *
91.1Sjruoho * 1. Copyright Notice
101.1Sjruoho *
111.1Sjruoho * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
121.1Sjruoho * All rights reserved.
131.1Sjruoho *
141.1Sjruoho * 2. License
151.1Sjruoho *
161.1Sjruoho * 2.1. This is your license from Intel Corp. under its intellectual property
171.1Sjruoho * rights.  You may have additional license terms from the party that provided
181.1Sjruoho * you this software, covering your right to use that party's intellectual
191.1Sjruoho * property rights.
201.1Sjruoho *
211.1Sjruoho * 2.2. Intel grants, free of charge, to any person ("Licensee") obtaining a
221.1Sjruoho * copy of the source code appearing in this file ("Covered Code") an
231.1Sjruoho * irrevocable, perpetual, worldwide license under Intel's copyrights in the
241.1Sjruoho * base code distributed originally by Intel ("Original Intel Code") to copy,
251.1Sjruoho * make derivatives, distribute, use and display any portion of the Covered
261.1Sjruoho * Code in any form, with the right to sublicense such rights; and
271.1Sjruoho *
281.1Sjruoho * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent
291.1Sjruoho * license (with the right to sublicense), under only those claims of Intel
301.1Sjruoho * patents that are infringed by the Original Intel Code, to make, use, sell,
311.1Sjruoho * offer to sell, and import the Covered Code and derivative works thereof
321.1Sjruoho * solely to the minimum extent necessary to exercise the above copyright
331.1Sjruoho * license, and in no event shall the patent license extend to any additions
341.1Sjruoho * to or modifications of the Original Intel Code.  No other license or right
351.1Sjruoho * is granted directly or by implication, estoppel or otherwise;
361.1Sjruoho *
371.1Sjruoho * The above copyright and patent license is granted only if the following
381.1Sjruoho * conditions are met:
391.1Sjruoho *
401.1Sjruoho * 3. Conditions
411.1Sjruoho *
421.1Sjruoho * 3.1. Redistribution of Source with Rights to Further Distribute Source.
431.1Sjruoho * Redistribution of source code of any substantial portion of the Covered
441.1Sjruoho * Code or modification with rights to further distribute source must include
451.1Sjruoho * the above Copyright Notice, the above License, this list of Conditions,
461.1Sjruoho * and the following Disclaimer and Export Compliance provision.  In addition,
471.1Sjruoho * Licensee must cause all Covered Code to which Licensee contributes to
481.1Sjruoho * contain a file documenting the changes Licensee made to create that Covered
491.1Sjruoho * Code and the date of any change.  Licensee must include in that file the
501.1Sjruoho * documentation of any changes made by any predecessor Licensee.  Licensee
511.1Sjruoho * must include a prominent statement that the modification is derived,
521.1Sjruoho * directly or indirectly, from Original Intel Code.
531.1Sjruoho *
541.1Sjruoho * 3.2. Redistribution of Source with no Rights to Further Distribute Source.
551.1Sjruoho * Redistribution of source code of any substantial portion of the Covered
561.1Sjruoho * Code or modification without rights to further distribute source must
571.1Sjruoho * include the following Disclaimer and Export Compliance provision in the
581.1Sjruoho * documentation and/or other materials provided with distribution.  In
591.1Sjruoho * addition, Licensee may not authorize further sublicense of source of any
601.1Sjruoho * portion of the Covered Code, and must include terms to the effect that the
611.1Sjruoho * license from Licensee to its licensee is limited to the intellectual
621.1Sjruoho * property embodied in the software Licensee provides to its licensee, and
631.1Sjruoho * not to intellectual property embodied in modifications its licensee may
641.1Sjruoho * make.
651.1Sjruoho *
661.1Sjruoho * 3.3. Redistribution of Executable. Redistribution in executable form of any
671.1Sjruoho * substantial portion of the Covered Code or modification must reproduce the
681.1Sjruoho * above Copyright Notice, and the following Disclaimer and Export Compliance
691.1Sjruoho * provision in the documentation and/or other materials provided with the
701.1Sjruoho * distribution.
711.1Sjruoho *
721.1Sjruoho * 3.4. Intel retains all right, title, and interest in and to the Original
731.1Sjruoho * Intel Code.
741.1Sjruoho *
751.1Sjruoho * 3.5. Neither the name Intel nor any other trademark owned or controlled by
761.1Sjruoho * Intel shall be used in advertising or otherwise to promote the sale, use or
771.1Sjruoho * other dealings in products derived from or relating to the Covered Code
781.1Sjruoho * without prior written authorization from Intel.
791.1Sjruoho *
801.1Sjruoho * 4. Disclaimer and Export Compliance
811.1Sjruoho *
821.1Sjruoho * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED
831.1Sjruoho * HERE.  ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE
841.1Sjruoho * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT,  ASSISTANCE,
851.1Sjruoho * INSTALLATION, TRAINING OR OTHER SERVICES.  INTEL WILL NOT PROVIDE ANY
861.1Sjruoho * UPDATES, ENHANCEMENTS OR EXTENSIONS.  INTEL SPECIFICALLY DISCLAIMS ANY
871.1Sjruoho * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A
881.1Sjruoho * PARTICULAR PURPOSE.
891.1Sjruoho *
901.1Sjruoho * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES
911.1Sjruoho * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR
921.1Sjruoho * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT,
931.1Sjruoho * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY
941.1Sjruoho * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL
951.1Sjruoho * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.  THESE LIMITATIONS
961.1Sjruoho * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY
971.1Sjruoho * LIMITED REMEDY.
981.1Sjruoho *
991.1Sjruoho * 4.3. Licensee shall not export, either directly or indirectly, any of this
1001.1Sjruoho * software or system incorporating such software without first obtaining any
1011.1Sjruoho * required license or other approval from the U. S. Department of Commerce or
1021.1Sjruoho * any other agency or department of the United States Government.  In the
1031.1Sjruoho * event Licensee exports any such software from the United States or
1041.1Sjruoho * re-exports any such software from a foreign destination, Licensee shall
1051.1Sjruoho * ensure that the distribution and export/re-export of the software is in
1061.1Sjruoho * compliance with all laws, regulations, orders, or other restrictions of the
1071.1Sjruoho * U.S. Export Administration Regulations. Licensee agrees that neither it nor
1081.1Sjruoho * any of its subsidiaries will export/re-export any technical data, process,
1091.1Sjruoho * software, or service, directly or indirectly, to any country for which the
1101.1Sjruoho * United States government or any agency thereof requires an export license,
1111.1Sjruoho * other governmental approval, or letter of assurance, without first obtaining
1121.1Sjruoho * such license, approval or letter.
1131.1Sjruoho *
1141.1Sjruoho *****************************************************************************/
1151.1Sjruoho
1161.1Sjruoho#ifndef __ACCOMMON_H__
1171.1Sjruoho#define __ACCOMMON_H__
1181.1Sjruoho
1191.1Sjruoho/*
1201.1Sjruoho * Common set of includes for all ACPICA source files.
1211.1Sjruoho * We put them here because we don't want to duplicate them
1221.1Sjruoho * in the the source code again and again.
1231.1Sjruoho *
1241.1Sjruoho * Note: The order of these include files is important.
1251.1Sjruoho */
1261.1Sjruoho#include "acconfig.h"           /* Global configuration constants */
1271.1Sjruoho#include "acmacros.h"           /* C macros */
1281.1Sjruoho#include "aclocal.h"            /* Internal data types */
1291.1Sjruoho#include "acobject.h"           /* ACPI internal object */
1301.1Sjruoho#include "acstruct.h"           /* Common structures */
1311.1Sjruoho#include "acglobal.h"           /* All global variables */
1321.1Sjruoho#include "achware.h"            /* Hardware defines and interfaces */
1331.1Sjruoho#include "acutils.h"            /* Utility interfaces */
1341.1Sjruoho
1351.1Sjruoho
1361.1Sjruoho#endif /* __ACCOMMON_H__ */
137