Rev 1498 | 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 119... | Line 119... | ||
119 | /* |
119 | /* |
120 | * ACPICA configuration |
120 | * ACPICA configuration |
121 | */ |
121 | */ |
122 | #define ACPI_USE_SYSTEM_CLIBRARY |
122 | #define ACPI_USE_SYSTEM_CLIBRARY |
123 | #define ACPI_USE_DO_WHILE_0 |
123 | #define ACPI_USE_DO_WHILE_0 |
124 | #define ACPI_THREAD_ID pthread_t |
- | |
125 | #define ACPI_FLUSH_CPU_CACHE() |
124 | #define ACPI_FLUSH_CPU_CACHE() |
126 | /* |
125 | /* |
127 | * This is needed since sem_timedwait does not appear to work properly |
126 | * This is needed since sem_timedwait does not appear to work properly |
128 | * on cygwin (always hangs forever). |
127 | * on cygwin (always hangs forever). |
129 | */ |
128 | */ |
Line 149... | Line 148... | ||
149 | 148 | ||
150 | #ifndef __cdecl |
149 | #ifndef __cdecl |
151 | #define __cdecl |
150 | #define __cdecl |
Line 152... | Line -... | ||
152 | #endif |
- | |
153 | - | ||
154 | #ifdef _ANSI |
- | |
155 | #define inline |
- | |
156 | #endif |
151 | #endif |
157 | 152 | ||
Line -... | Line 153... | ||
- | 153 | #define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) if (GLptr) Acq=1; else Acq=0; |
|
- | 154 | #define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = 1 |
|
- | 155 | ||
Line 158... | Line 156... | ||
158 | #define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) if (GLptr) Acq=1; else Acq=0; |
156 | /* On Cygwin, pthread_t is a pointer */ |
Line 159... | Line 157... | ||
159 | #define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pending) Pending = 1 |
157 |