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