acwin64.h (db2bae30) acwin64.h (aa2aa9a6)
1/******************************************************************************
2 *
3 * Name: acwin.h - OS specific defines, etc.
1/******************************************************************************
2 *
3 * Name: acwin.h - OS specific defines, etc.
4 * $Revision: 1.17 $
5 *
6 *****************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
4 *
5 *****************************************************************************/
6
7/******************************************************************************
8 *
9 * 1. Copyright Notice
10 *
12 * Some or all of this work - Copyright (c) 1999 - 2008, Intel Corp.
11 * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
13 * All rights reserved.
14 *
15 * 2. License
16 *
17 * 2.1. This is your license from Intel Corp. under its intellectual property
18 * rights. You may have additional license terms from the party that provided
19 * you this software, covering your right to use that party's intellectual
20 * property rights.

--- 110 unchanged lines hidden (view full) ---

131 *
132 * Notes:
133 * 1) Interrupt 3 is used to break into a debugger
134 * 2) Interrupts are turned off during ACPI register setup
135 */
136
137/*! [Begin] no source code translation */
138
12 * All rights reserved.
13 *
14 * 2. License
15 *
16 * 2.1. This is your license from Intel Corp. under its intellectual property
17 * rights. You may have additional license terms from the party that provided
18 * you this software, covering your right to use that party's intellectual
19 * property rights.

--- 110 unchanged lines hidden (view full) ---

130 *
131 * Notes:
132 * 1) Interrupt 3 is used to break into a debugger
133 * 2) Interrupts are turned off during ACPI register setup
134 */
135
136/*! [Begin] no source code translation */
137
139#define ACPI_ASM_MACROS
140#define causeinterrupt(level)
141#define BREAKPOINT3
142#define ACPI_DISABLE_IRQS()
143#define ACPI_ENABLE_IRQS()
144#define ACPI_FLUSH_CPU_CACHE()
145
138#define ACPI_FLUSH_CPU_CACHE()
139
146
147/*
148 * For Acpi applications, we don't want to try to access the global lock
149 */
150#ifdef ACPI_APPLICATION
151#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) if (AcpiGbl_GlobalLockPresent) {Acq = 0xFF;} else {Acq = 0;}
152#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pnd) if (AcpiGbl_GlobalLockPresent) {Pnd = 0xFF;} else {Pnd = 0;}
153#else
154
155#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq)
156
157#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pnd)
158
159#endif
160
161
162#endif /* __ACWIN_H__ */
140/*
141 * For Acpi applications, we don't want to try to access the global lock
142 */
143#ifdef ACPI_APPLICATION
144#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq) if (AcpiGbl_GlobalLockPresent) {Acq = 0xFF;} else {Acq = 0;}
145#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pnd) if (AcpiGbl_GlobalLockPresent) {Pnd = 0xFF;} else {Pnd = 0;}
146#else
147
148#define ACPI_ACQUIRE_GLOBAL_LOCK(GLptr, Acq)
149
150#define ACPI_RELEASE_GLOBAL_LOCK(GLptr, Pnd)
151
152#endif
153
154
155#endif /* __ACWIN_H__ */