Erik Schmauss | 9585763 | 2018-03-14 16:13:07 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */ |
Lv Zheng | d13bd5a | 2014-05-12 15:46:32 +0800 | [diff] [blame] | 2 | /****************************************************************************** |
| 3 | * |
| 4 | * Name: acenvex.h - Extra host and compiler configuration |
| 5 | * |
Bob Moore | 4441e55 | 2021-01-15 10:48:25 -0800 | [diff] [blame] | 6 | * Copyright (C) 2000 - 2021, Intel Corp. |
Lv Zheng | d13bd5a | 2014-05-12 15:46:32 +0800 | [diff] [blame] | 7 | * |
Erik Schmauss | 9585763 | 2018-03-14 16:13:07 -0700 | [diff] [blame] | 8 | *****************************************************************************/ |
Lv Zheng | d13bd5a | 2014-05-12 15:46:32 +0800 | [diff] [blame] | 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 | |
Bob Moore | f38a437 | 2015-05-21 10:30:03 +0800 | [diff] [blame] | 25 | #elif defined(__DragonFly__) |
| 26 | #include "acdragonflyex.h" |
| 27 | |
Lv Zheng | 4e2fc6a | 2016-08-04 16:44:52 +0800 | [diff] [blame] | 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 | */ |
Lv Zheng | d2d48ea | 2016-08-04 16:45:32 +0800 | [diff] [blame] | 33 | #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI) |
Lv Zheng | 4e2fc6a | 2016-08-04 16:44:52 +0800 | [diff] [blame] | 34 | #include "acefiex.h" |
| 35 | |
Lv Zheng | d13bd5a | 2014-05-12 15:46:32 +0800 | [diff] [blame] | 36 | #endif |
| 37 | |
Lv Zheng | 34f3a91b | 2016-08-04 16:45:47 +0800 | [diff] [blame] | 38 | #if defined(__GNUC__) && !defined(__INTEL_COMPILER) |
| 39 | #include "acgccex.h" |
| 40 | |
| 41 | #elif defined(_MSC_VER) |
Lv Zheng | 9fa1ceb | 2016-08-04 16:45:40 +0800 | [diff] [blame] | 42 | #include "acmsvcex.h" |
| 43 | |
| 44 | #endif |
| 45 | |
Lv Zheng | d13bd5a | 2014-05-12 15:46:32 +0800 | [diff] [blame] | 46 | /*! [End] no source code translation !*/ |
| 47 | |
| 48 | #endif /* __ACENVEX_H__ */ |