1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /******************************************************************************
4 * Name: acintel.h - VC specific defines, etc.
6 * Copyright (C) 2000 - 2020, Intel Corp.
8 *****************************************************************************/
14 * Use compiler specific <stdarg.h> is a good practice for even when
15 * -nostdinc is specified (i.e., ACPI_USE_STANDARD_HEADERS undefined.
21 /* Configuration specific to Intel 64-bit C compiler */
23 #define COMPILER_DEPENDENT_INT64 __int64
24 #define COMPILER_DEPENDENT_UINT64 unsigned __int64
25 #define ACPI_INLINE __inline
28 * Calling conventions:
30 * ACPI_SYSTEM_XFACE - Interfaces to host OS (handlers, threads)
31 * ACPI_EXTERNAL_XFACE - External ACPI interfaces
32 * ACPI_INTERNAL_XFACE - Internal ACPI interfaces
33 * ACPI_INTERNAL_VAR_XFACE - Internal variable-parameter list interfaces
35 #define ACPI_SYSTEM_XFACE
36 #define ACPI_EXTERNAL_XFACE
37 #define ACPI_INTERNAL_XFACE
38 #define ACPI_INTERNAL_VAR_XFACE
40 /* remark 981 - operands evaluated in no particular order */
41 #pragma warning(disable:981)
43 /* warn C4100: unreferenced formal parameter */
44 #pragma warning(disable:4100)
46 /* warn C4127: conditional expression is constant */
47 #pragma warning(disable:4127)
49 /* warn C4706: assignment within conditional expression */
50 #pragma warning(disable:4706)
52 /* warn C4214: bit field types other than int */
53 #pragma warning(disable:4214)
55 #endif /* __ACINTEL_H__ */