1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /******************************************************************************
3  *
4  * Name: acintel.h - VC specific defines, etc.
5  *
6  * Copyright (C) 2000 - 2022, Intel Corp.
7  *
8  *****************************************************************************/
9 
10 #ifndef __ACINTEL_H__
11 #define __ACINTEL_H__
12 
13 /*
14  * Use compiler specific <stdarg.h> is a good practice for even when
15  * -nostdinc is specified (i.e., ACPI_USE_STANDARD_HEADERS undefined.
16  */
17 #ifndef va_arg
18 #include <stdarg.h>
19 #endif
20 
21 /* Configuration specific to Intel 64-bit C compiler */
22 
23 #define COMPILER_DEPENDENT_INT64    __int64
24 #define COMPILER_DEPENDENT_UINT64   unsigned __int64
25 #define ACPI_INLINE                 __inline
26 
27 /*
28  * Calling conventions:
29  *
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
34  */
35 #define ACPI_SYSTEM_XFACE
36 #define ACPI_EXTERNAL_XFACE
37 #define ACPI_INTERNAL_XFACE
38 #define ACPI_INTERNAL_VAR_XFACE
39 
40 /* remark 981 - operands evaluated in no particular order */
41 #pragma warning(disable:981)
42 
43 /* warn C4100: unreferenced formal parameter */
44 #pragma warning(disable:4100)
45 
46 /* warn C4127: conditional expression is constant */
47 #pragma warning(disable:4127)
48 
49 /* warn C4706: assignment within conditional expression */
50 #pragma warning(disable:4706)
51 
52 /* warn C4214: bit field types other than int */
53 #pragma warning(disable:4214)
54 
55 #endif				/* __ACINTEL_H__ */
56