Subversion Repositories Kolibri OS

Rev

Rev 1498 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1498 Rev 2216
Line 6... Line 6...
6
 
6
 
7
/******************************************************************************
7
/******************************************************************************
8
 *
8
 *
9
 * 1. Copyright Notice
9
 * 1. Copyright Notice
10
 *
10
 *
11
 * Some or all of this work - Copyright (c) 1999 - 2010, Intel Corp.
11
 * Some or all of this work - Copyright (c) 1999 - 2011, Intel Corp.
12
 * All rights reserved.
12
 * All rights reserved.
13
 *
13
 *
14
 * 2. License
14
 * 2. License
15
 *
15
 *
Line 114... Line 114...
114
 *****************************************************************************/
114
 *****************************************************************************/
Line 115... Line 115...
115
 
115
 
116
#ifndef __ACINTEL_H__
116
#ifndef __ACINTEL_H__
Line -... Line 117...
-
 
117
#define __ACINTEL_H__
Line 117... Line 118...
117
#define __ACINTEL_H__
118
 
118
 
119
/* Configuration specific to Intel 64-bit C compiler */
119
 
-
 
120
#define COMPILER_DEPENDENT_INT64   __int64
120
 
Line 121... Line 121...
121
#define COMPILER_DEPENDENT_UINT64  unsigned __int64
121
#define COMPILER_DEPENDENT_INT64   __int64
122
 
122
#define COMPILER_DEPENDENT_UINT64  unsigned __int64
123
#define inline                  __inline
123
#define ACPI_INLINE                 __inline
124
 
124
 
Line 133... Line 133...
133
#define ACPI_SYSTEM_XFACE
133
#define ACPI_SYSTEM_XFACE
134
#define ACPI_EXTERNAL_XFACE
134
#define ACPI_EXTERNAL_XFACE
135
#define ACPI_INTERNAL_XFACE
135
#define ACPI_INTERNAL_XFACE
136
#define ACPI_INTERNAL_VAR_XFACE
136
#define ACPI_INTERNAL_VAR_XFACE
Line 137... Line -...
137
 
-
 
138
/*
-
 
139
 * Math helper functions
-
 
140
 */
-
 
141
#define ACPI_DIV_64_BY_32(n, n_hi, n_lo, d32, q32, r32) \
-
 
142
{ \
-
 
143
    q32 = n / d32; \
-
 
144
    r32 = n % d32; \
-
 
145
}
-
 
146
 
-
 
147
#define ACPI_SHIFT_RIGHT_64(n, n_hi, n_lo) \
-
 
148
{ \
-
 
149
    n <<= 1; \
-
 
150
}
-
 
151
 
137
 
152
/* remark 981 - operands evaluated in no particular order */
138
/* remark 981 - operands evaluated in no particular order */
Line 153... Line 139...
153
#pragma warning(disable:981)
139
#pragma warning(disable:981)
154
 
140