1d13bd5a6SLv Zheng /****************************************************************************** 2d13bd5a6SLv Zheng * 3d13bd5a6SLv Zheng * Name: acenvex.h - Extra host and compiler configuration 4d13bd5a6SLv Zheng * 5d13bd5a6SLv Zheng *****************************************************************************/ 6d13bd5a6SLv Zheng 7d13bd5a6SLv Zheng /* 8c8100dc4SBob Moore * Copyright (C) 2000 - 2016, Intel Corp. 9d13bd5a6SLv Zheng * All rights reserved. 10d13bd5a6SLv Zheng * 11d13bd5a6SLv Zheng * Redistribution and use in source and binary forms, with or without 12d13bd5a6SLv Zheng * modification, are permitted provided that the following conditions 13d13bd5a6SLv Zheng * are met: 14d13bd5a6SLv Zheng * 1. Redistributions of source code must retain the above copyright 15d13bd5a6SLv Zheng * notice, this list of conditions, and the following disclaimer, 16d13bd5a6SLv Zheng * without modification. 17d13bd5a6SLv Zheng * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18d13bd5a6SLv Zheng * substantially similar to the "NO WARRANTY" disclaimer below 19d13bd5a6SLv Zheng * ("Disclaimer") and any redistribution must be conditioned upon 20d13bd5a6SLv Zheng * including a substantially similar Disclaimer requirement for further 21d13bd5a6SLv Zheng * binary redistribution. 22d13bd5a6SLv Zheng * 3. Neither the names of the above-listed copyright holders nor the names 23d13bd5a6SLv Zheng * of any contributors may be used to endorse or promote products derived 24d13bd5a6SLv Zheng * from this software without specific prior written permission. 25d13bd5a6SLv Zheng * 26d13bd5a6SLv Zheng * Alternatively, this software may be distributed under the terms of the 27d13bd5a6SLv Zheng * GNU General Public License ("GPL") version 2 as published by the Free 28d13bd5a6SLv Zheng * Software Foundation. 29d13bd5a6SLv Zheng * 30d13bd5a6SLv Zheng * NO WARRANTY 31d13bd5a6SLv Zheng * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32d13bd5a6SLv Zheng * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 33d13bd5a6SLv Zheng * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR 34d13bd5a6SLv Zheng * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35d13bd5a6SLv Zheng * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36d13bd5a6SLv Zheng * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37d13bd5a6SLv Zheng * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38d13bd5a6SLv Zheng * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39d13bd5a6SLv Zheng * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40d13bd5a6SLv Zheng * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41d13bd5a6SLv Zheng * POSSIBILITY OF SUCH DAMAGES. 42d13bd5a6SLv Zheng */ 43d13bd5a6SLv Zheng 44d13bd5a6SLv Zheng #ifndef __ACENVEX_H__ 45d13bd5a6SLv Zheng #define __ACENVEX_H__ 46d13bd5a6SLv Zheng 47d13bd5a6SLv Zheng /*! [Begin] no source code translation */ 48d13bd5a6SLv Zheng 49d13bd5a6SLv Zheng /****************************************************************************** 50d13bd5a6SLv Zheng * 51d13bd5a6SLv Zheng * Extra host configuration files. All ACPICA headers are included before 52d13bd5a6SLv Zheng * including these files. 53d13bd5a6SLv Zheng * 54d13bd5a6SLv Zheng *****************************************************************************/ 55d13bd5a6SLv Zheng 56d13bd5a6SLv Zheng #if defined(_LINUX) || defined(__linux__) 57d13bd5a6SLv Zheng #include <acpi/platform/aclinuxex.h> 58d13bd5a6SLv Zheng 59f38a4378SBob Moore #elif defined(__DragonFly__) 60f38a4378SBob Moore #include "acdragonflyex.h" 61f38a4378SBob Moore 624e2fc6a0SLv Zheng /* 634e2fc6a0SLv Zheng * EFI applications can be built with -nostdlib, in this case, it must be 644e2fc6a0SLv Zheng * included after including all other host environmental definitions, in 654e2fc6a0SLv Zheng * order to override the definitions. 664e2fc6a0SLv Zheng */ 67d2d48eaeSLv Zheng #elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI) 684e2fc6a0SLv Zheng #include "acefiex.h" 694e2fc6a0SLv Zheng 70d13bd5a6SLv Zheng #endif 71d13bd5a6SLv Zheng 72*34f3a91bSLv Zheng #if defined(__GNUC__) && !defined(__INTEL_COMPILER) 73*34f3a91bSLv Zheng #include "acgccex.h" 74*34f3a91bSLv Zheng 75*34f3a91bSLv Zheng #elif defined(_MSC_VER) 769fa1cebdSLv Zheng #include "acmsvcex.h" 779fa1cebdSLv Zheng 789fa1cebdSLv Zheng #endif 799fa1cebdSLv Zheng 80d13bd5a6SLv Zheng /*! [End] no source code translation !*/ 81d13bd5a6SLv Zheng 82d13bd5a6SLv Zheng #endif /* __ACENVEX_H__ */ 83