xref: /titanic_51/usr/src/uts/intel/sys/acpi/accommon.h (revision 385cc6b4ad1792caef3f84eb61eed3f27085801f)
1aa2aa9a6SDana Myers /******************************************************************************
2aa2aa9a6SDana Myers  *
3aa2aa9a6SDana Myers  * Name: accommon.h - Common include files for generation of ACPICA source
4aa2aa9a6SDana Myers  *
5aa2aa9a6SDana Myers  *****************************************************************************/
6aa2aa9a6SDana Myers 
726f3cdf0SGordon Ross /*
8*385cc6b4SJerry Jelinek  * Copyright (C) 2000 - 2016, Intel Corp.
9aa2aa9a6SDana Myers  * All rights reserved.
10aa2aa9a6SDana Myers  *
1126f3cdf0SGordon Ross  * Redistribution and use in source and binary forms, with or without
1226f3cdf0SGordon Ross  * modification, are permitted provided that the following conditions
1326f3cdf0SGordon Ross  * are met:
1426f3cdf0SGordon Ross  * 1. Redistributions of source code must retain the above copyright
1526f3cdf0SGordon Ross  *    notice, this list of conditions, and the following disclaimer,
1626f3cdf0SGordon Ross  *    without modification.
1726f3cdf0SGordon Ross  * 2. Redistributions in binary form must reproduce at minimum a disclaimer
1826f3cdf0SGordon Ross  *    substantially similar to the "NO WARRANTY" disclaimer below
1926f3cdf0SGordon Ross  *    ("Disclaimer") and any redistribution must be conditioned upon
2026f3cdf0SGordon Ross  *    including a substantially similar Disclaimer requirement for further
2126f3cdf0SGordon Ross  *    binary redistribution.
2226f3cdf0SGordon Ross  * 3. Neither the names of the above-listed copyright holders nor the names
2326f3cdf0SGordon Ross  *    of any contributors may be used to endorse or promote products derived
2426f3cdf0SGordon Ross  *    from this software without specific prior written permission.
25aa2aa9a6SDana Myers  *
2626f3cdf0SGordon Ross  * Alternatively, this software may be distributed under the terms of the
2726f3cdf0SGordon Ross  * GNU General Public License ("GPL") version 2 as published by the Free
2826f3cdf0SGordon Ross  * Software Foundation.
29aa2aa9a6SDana Myers  *
3026f3cdf0SGordon Ross  * NO WARRANTY
3126f3cdf0SGordon Ross  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3226f3cdf0SGordon Ross  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3326f3cdf0SGordon Ross  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
3426f3cdf0SGordon Ross  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3526f3cdf0SGordon Ross  * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
3626f3cdf0SGordon Ross  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
3726f3cdf0SGordon Ross  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3826f3cdf0SGordon Ross  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
3926f3cdf0SGordon Ross  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
4026f3cdf0SGordon Ross  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4126f3cdf0SGordon Ross  * POSSIBILITY OF SUCH DAMAGES.
4226f3cdf0SGordon Ross  */
43aa2aa9a6SDana Myers 
44aa2aa9a6SDana Myers #ifndef __ACCOMMON_H__
45aa2aa9a6SDana Myers #define __ACCOMMON_H__
46aa2aa9a6SDana Myers 
47aa2aa9a6SDana Myers /*
48aa2aa9a6SDana Myers  * Common set of includes for all ACPICA source files.
49aa2aa9a6SDana Myers  * We put them here because we don't want to duplicate them
50aa2aa9a6SDana Myers  * in the the source code again and again.
51aa2aa9a6SDana Myers  *
52aa2aa9a6SDana Myers  * Note: The order of these include files is important.
53aa2aa9a6SDana Myers  */
54aa2aa9a6SDana Myers #include "acconfig.h"           /* Global configuration constants */
55aa2aa9a6SDana Myers #include "acmacros.h"           /* C macros */
56aa2aa9a6SDana Myers #include "aclocal.h"            /* Internal data types */
57aa2aa9a6SDana Myers #include "acobject.h"           /* ACPI internal object */
58aa2aa9a6SDana Myers #include "acstruct.h"           /* Common structures */
59aa2aa9a6SDana Myers #include "acglobal.h"           /* All global variables */
60aa2aa9a6SDana Myers #include "achware.h"            /* Hardware defines and interfaces */
61aa2aa9a6SDana Myers #include "acutils.h"            /* Utility interfaces */
62*385cc6b4SJerry Jelinek #ifndef ACPI_USE_SYSTEM_CLIBRARY
63*385cc6b4SJerry Jelinek #include "acclib.h"             /* C library interfaces */
64*385cc6b4SJerry Jelinek #endif /* !ACPI_USE_SYSTEM_CLIBRARY */
65aa2aa9a6SDana Myers 
66aa2aa9a6SDana Myers 
67aa2aa9a6SDana Myers #endif /* __ACCOMMON_H__ */
68