xref: /openbmc/linux/drivers/acpi/acpica/accommon.h (revision e2f7a7772880458edff1b1cc5a988947229fac26)
1*e2f7a777SLen Brown /******************************************************************************
2*e2f7a777SLen Brown  *
3*e2f7a777SLen Brown  * Name: accommon.h - Common include files for generation of ACPICA source
4*e2f7a777SLen Brown  *
5*e2f7a777SLen Brown  *****************************************************************************/
6*e2f7a777SLen Brown 
7*e2f7a777SLen Brown /*
8*e2f7a777SLen Brown  * Copyright (C) 2000 - 2008, Intel Corp.
9*e2f7a777SLen Brown  * All rights reserved.
10*e2f7a777SLen Brown  *
11*e2f7a777SLen Brown  * Redistribution and use in source and binary forms, with or without
12*e2f7a777SLen Brown  * modification, are permitted provided that the following conditions
13*e2f7a777SLen Brown  * are met:
14*e2f7a777SLen Brown  * 1. Redistributions of source code must retain the above copyright
15*e2f7a777SLen Brown  *    notice, this list of conditions, and the following disclaimer,
16*e2f7a777SLen Brown  *    without modification.
17*e2f7a777SLen Brown  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
18*e2f7a777SLen Brown  *    substantially similar to the "NO WARRANTY" disclaimer below
19*e2f7a777SLen Brown  *    ("Disclaimer") and any redistribution must be conditioned upon
20*e2f7a777SLen Brown  *    including a substantially similar Disclaimer requirement for further
21*e2f7a777SLen Brown  *    binary redistribution.
22*e2f7a777SLen Brown  * 3. Neither the names of the above-listed copyright holders nor the names
23*e2f7a777SLen Brown  *    of any contributors may be used to endorse or promote products derived
24*e2f7a777SLen Brown  *    from this software without specific prior written permission.
25*e2f7a777SLen Brown  *
26*e2f7a777SLen Brown  * Alternatively, this software may be distributed under the terms of the
27*e2f7a777SLen Brown  * GNU General Public License ("GPL") version 2 as published by the Free
28*e2f7a777SLen Brown  * Software Foundation.
29*e2f7a777SLen Brown  *
30*e2f7a777SLen Brown  * NO WARRANTY
31*e2f7a777SLen Brown  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
32*e2f7a777SLen Brown  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
33*e2f7a777SLen Brown  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
34*e2f7a777SLen Brown  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
35*e2f7a777SLen Brown  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
36*e2f7a777SLen Brown  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
37*e2f7a777SLen Brown  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
38*e2f7a777SLen Brown  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
39*e2f7a777SLen Brown  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
40*e2f7a777SLen Brown  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
41*e2f7a777SLen Brown  * POSSIBILITY OF SUCH DAMAGES.
42*e2f7a777SLen Brown  */
43*e2f7a777SLen Brown 
44*e2f7a777SLen Brown #ifndef __ACCOMMON_H__
45*e2f7a777SLen Brown #define __ACCOMMON_H__
46*e2f7a777SLen Brown 
47*e2f7a777SLen Brown /*
48*e2f7a777SLen Brown  * Common set of includes for all ACPICA source files.
49*e2f7a777SLen Brown  * We put them here because we don't want to duplicate them
50*e2f7a777SLen Brown  * in the the source code again and again.
51*e2f7a777SLen Brown  *
52*e2f7a777SLen Brown  * Note: The order of these include files is important.
53*e2f7a777SLen Brown  */
54*e2f7a777SLen Brown #include "acconfig.h"		/* Global configuration constants */
55*e2f7a777SLen Brown #include "acmacros.h"		/* C macros */
56*e2f7a777SLen Brown #include "aclocal.h"		/* Internal data types */
57*e2f7a777SLen Brown #include "acobject.h"		/* ACPI internal object */
58*e2f7a777SLen Brown #include "acstruct.h"		/* Common structures */
59*e2f7a777SLen Brown #include "acglobal.h"		/* All global variables */
60*e2f7a777SLen Brown #include "achware.h"		/* Hardware defines and interfaces */
61*e2f7a777SLen Brown #include "acutils.h"		/* Utility interfaces */
62*e2f7a777SLen Brown 
63*e2f7a777SLen Brown #endif				/* __ACCOMMON_H__ */
64