2018-03-15 07:13:07 +08:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
|
2014-05-12 15:46:32 +08:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Name: acenvex.h - Extra host and compiler configuration
|
|
|
|
*
|
2020-01-11 03:31:49 +08:00
|
|
|
* Copyright (C) 2000 - 2020, Intel Corp.
|
2014-05-12 15:46:32 +08:00
|
|
|
*
|
2018-03-15 07:13:07 +08:00
|
|
|
*****************************************************************************/
|
2014-05-12 15:46:32 +08:00
|
|
|
|
|
|
|
#ifndef __ACENVEX_H__
|
|
|
|
#define __ACENVEX_H__
|
|
|
|
|
|
|
|
/*! [Begin] no source code translation */
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Extra host configuration files. All ACPICA headers are included before
|
|
|
|
* including these files.
|
|
|
|
*
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
|
|
#if defined(_LINUX) || defined(__linux__)
|
|
|
|
#include <acpi/platform/aclinuxex.h>
|
|
|
|
|
2015-05-21 10:30:03 +08:00
|
|
|
#elif defined(__DragonFly__)
|
|
|
|
#include "acdragonflyex.h"
|
|
|
|
|
2016-08-04 16:44:52 +08:00
|
|
|
/*
|
|
|
|
* EFI applications can be built with -nostdlib, in this case, it must be
|
|
|
|
* included after including all other host environmental definitions, in
|
|
|
|
* order to override the definitions.
|
|
|
|
*/
|
2016-08-04 16:45:32 +08:00
|
|
|
#elif defined(_AED_EFI) || defined(_GNU_EFI) || defined(_EDK2_EFI)
|
2016-08-04 16:44:52 +08:00
|
|
|
#include "acefiex.h"
|
|
|
|
|
2014-05-12 15:46:32 +08:00
|
|
|
#endif
|
|
|
|
|
2016-08-04 16:45:47 +08:00
|
|
|
#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
|
|
|
|
#include "acgccex.h"
|
|
|
|
|
|
|
|
#elif defined(_MSC_VER)
|
2016-08-04 16:45:40 +08:00
|
|
|
#include "acmsvcex.h"
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
2014-05-12 15:46:32 +08:00
|
|
|
/*! [End] no source code translation !*/
|
|
|
|
|
|
|
|
#endif /* __ACENVEX_H__ */
|