diff options
Diffstat (limited to 'include/acpi/platform/acenv.h')
-rw-r--r-- | include/acpi/platform/acenv.h | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/include/acpi/platform/acenv.h b/include/acpi/platform/acenv.h index bae1fbed097a..16609c1ab2eb 100644 --- a/include/acpi/platform/acenv.h +++ b/include/acpi/platform/acenv.h | |||
@@ -44,7 +44,6 @@ | |||
44 | #ifndef __ACENV_H__ | 44 | #ifndef __ACENV_H__ |
45 | #define __ACENV_H__ | 45 | #define __ACENV_H__ |
46 | 46 | ||
47 | |||
48 | /* | 47 | /* |
49 | * Configuration for ACPI tools and utilities | 48 | * Configuration for ACPI tools and utilities |
50 | */ | 49 | */ |
@@ -134,7 +133,7 @@ | |||
134 | #elif defined(WIN64) | 133 | #elif defined(WIN64) |
135 | #include "acwin64.h" | 134 | #include "acwin64.h" |
136 | 135 | ||
137 | #elif defined(MSDOS) /* Must appear after WIN32 and WIN64 check */ | 136 | #elif defined(MSDOS) /* Must appear after WIN32 and WIN64 check */ |
138 | #include "acdos16.h" | 137 | #include "acdos16.h" |
139 | 138 | ||
140 | #elif defined(__FreeBSD__) | 139 | #elif defined(__FreeBSD__) |
@@ -180,7 +179,6 @@ | |||
180 | 179 | ||
181 | /*! [End] no source code translation !*/ | 180 | /*! [End] no source code translation !*/ |
182 | 181 | ||
183 | |||
184 | /* | 182 | /* |
185 | * Debugger threading model | 183 | * Debugger threading model |
186 | * Use single threaded if the entire subsystem is contained in an application | 184 | * Use single threaded if the entire subsystem is contained in an application |
@@ -199,8 +197,7 @@ | |||
199 | #else | 197 | #else |
200 | #define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED | 198 | #define DEBUGGER_THREADING DEBUGGER_MULTI_THREADED |
201 | #endif | 199 | #endif |
202 | #endif /* !DEBUGGER_THREADING */ | 200 | #endif /* !DEBUGGER_THREADING */ |
203 | |||
204 | 201 | ||
205 | /****************************************************************************** | 202 | /****************************************************************************** |
206 | * | 203 | * |
@@ -222,7 +219,7 @@ | |||
222 | #include <string.h> | 219 | #include <string.h> |
223 | #include <ctype.h> | 220 | #include <ctype.h> |
224 | 221 | ||
225 | #endif /* ACPI_USE_STANDARD_HEADERS */ | 222 | #endif /* ACPI_USE_STANDARD_HEADERS */ |
226 | 223 | ||
227 | /* | 224 | /* |
228 | * We will be linking to the standard Clib functions | 225 | * We will be linking to the standard Clib functions |
@@ -260,18 +257,18 @@ | |||
260 | *****************************************************************************/ | 257 | *****************************************************************************/ |
261 | 258 | ||
262 | /* | 259 | /* |
263 | * Use local definitions of C library macros and functions | 260 | * Use local definitions of C library macros and functions |
264 | * NOTE: The function implementations may not be as efficient | 261 | * NOTE: The function implementations may not be as efficient |
265 | * as an inline or assembly code implementation provided by a | 262 | * as an inline or assembly code implementation provided by a |
266 | * native C library. | 263 | * native C library. |
267 | */ | 264 | */ |
268 | 265 | ||
269 | #ifndef va_arg | 266 | #ifndef va_arg |
270 | 267 | ||
271 | #ifndef _VALIST | 268 | #ifndef _VALIST |
272 | #define _VALIST | 269 | #define _VALIST |
273 | typedef char *va_list; | 270 | typedef char *va_list; |
274 | #endif /* _VALIST */ | 271 | #endif /* _VALIST */ |
275 | 272 | ||
276 | /* | 273 | /* |
277 | * Storage alignment properties | 274 | * Storage alignment properties |
@@ -287,8 +284,7 @@ typedef char *va_list; | |||
287 | #define va_end(ap) (void) 0 | 284 | #define va_end(ap) (void) 0 |
288 | #define va_start(ap, A) (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND)))) | 285 | #define va_start(ap, A) (void) ((ap) = (((char *) &(A)) + (_bnd (A,_AUPBND)))) |
289 | 286 | ||
290 | #endif /* va_arg */ | 287 | #endif /* va_arg */ |
291 | |||
292 | 288 | ||
293 | #define ACPI_STRSTR(s1,s2) acpi_ut_strstr ((s1), (s2)) | 289 | #define ACPI_STRSTR(s1,s2) acpi_ut_strstr ((s1), (s2)) |
294 | #define ACPI_STRCHR(s1,c) acpi_ut_strchr ((s1), (c)) | 290 | #define ACPI_STRCHR(s1,c) acpi_ut_strchr ((s1), (c)) |
@@ -306,8 +302,7 @@ typedef char *va_list; | |||
306 | #define ACPI_TOUPPER acpi_ut_to_upper | 302 | #define ACPI_TOUPPER acpi_ut_to_upper |
307 | #define ACPI_TOLOWER acpi_ut_to_lower | 303 | #define ACPI_TOLOWER acpi_ut_to_lower |
308 | 304 | ||
309 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ | 305 | #endif /* ACPI_USE_SYSTEM_CLIBRARY */ |
310 | |||
311 | 306 | ||
312 | /****************************************************************************** | 307 | /****************************************************************************** |
313 | * | 308 | * |
@@ -348,8 +343,7 @@ typedef char *va_list; | |||
348 | #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acq) | 343 | #define ACPI_ACQUIRE_GLOBAL_LOCK(Glptr, acq) |
349 | #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, acq) | 344 | #define ACPI_RELEASE_GLOBAL_LOCK(Glptr, acq) |
350 | 345 | ||
351 | #endif /* ACPI_ASM_MACROS */ | 346 | #endif /* ACPI_ASM_MACROS */ |
352 | |||
353 | 347 | ||
354 | #ifdef ACPI_APPLICATION | 348 | #ifdef ACPI_APPLICATION |
355 | 349 | ||
@@ -359,11 +353,10 @@ typedef char *va_list; | |||
359 | #define BREAKPOINT3 | 353 | #define BREAKPOINT3 |
360 | #endif | 354 | #endif |
361 | 355 | ||
362 | |||
363 | /****************************************************************************** | 356 | /****************************************************************************** |
364 | * | 357 | * |
365 | * Compiler-specific information is contained in the compiler-specific | 358 | * Compiler-specific information is contained in the compiler-specific |
366 | * headers. | 359 | * headers. |
367 | * | 360 | * |
368 | *****************************************************************************/ | 361 | *****************************************************************************/ |
369 | #endif /* __ACENV_H__ */ | 362 | #endif /* __ACENV_H__ */ |