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