xref: /openbmc/linux/include/acpi/platform/acenvex.h (revision 0e17c50f)
1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /******************************************************************************
3  *
4  * Name: acenvex.h - Extra host and compiler configuration
5  *
6  * Copyright (C) 2000 - 2020, Intel Corp.
7  *
8  *****************************************************************************/
9 
10 #ifndef __ACENVEX_H__
11 #define __ACENVEX_H__
12 
13 /*! [Begin] no source code translation */
14 
15 /******************************************************************************
16  *
17  * Extra host configuration files. All ACPICA headers are included before
18  * including these files.
19  *
20  *****************************************************************************/
21 
22 #if defined(_LINUX) || defined(__linux__)
23 #include <acpi/platform/aclinuxex.h>
24 
25 #elif defined(__DragonFly__)
26 #include "acdragonflyex.h"
27 
28 /*
29  * EFI applications can be built with -nostdlib, in this case, it must be
30  * included after including all other host environmental definitions, in
31  * order to override the definitions.
32  */
33 #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
34 #include "acefiex.h"
35 
36 #endif
37 
38 #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
39 #include "acgccex.h"
40 
41 #elif defined(_MSC_VER)
42 #include "acmsvcex.h"
43 
44 #endif
45 
46 /*! [End] no source code translation !*/
47 
48 #endif				/* __ACENVEX_H__ */
49