#include "acpi.h"
#include "accommon.h"
#include "actables.h"
Go to the source code of this file.
◆ _COMPONENT
◆ EXPORT_ACPI_INTERFACES
#define EXPORT_ACPI_INTERFACES |
◆ AcpiClearEvent()
Definition at line 333 of file evxfevnt.c.
335{
337
338
340
341
342
343
344 if (AcpiGbl_ReducedHardware)
345 {
347 }
348
349
350
352 {
354 }
355
356
357
358
359
363
365}
ACPI_FIXED_EVENT_INFO AcpiGbl_FixedEventInfo[ACPI_NUM_FIXED_EVENTS]
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_CLEAR_STATUS
ACPI_STATUS AcpiClearEvent(UINT32 Event)
ACPI_STATUS AcpiWriteBitRegister(UINT32 RegisterId, UINT32 Value)
Referenced by AcpiClearEvent().
◆ AcpiDisable()
Definition at line 132 of file evxfevnt.c.
134{
136
137
139
140
141
142
143 if (AcpiGbl_ReducedHardware)
144 {
146 }
147
149 {
151 "System is already in legacy (non-ACPI) mode\n"));
152 }
153 else
154 {
155
156
158
160 {
162 "Could not exit ACPI mode to legacy mode"));
164 }
165
167 "ACPI mode disabled\n"));
168 }
169
171}
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_ERROR(plist)
#define ACPI_SYS_MODE_LEGACY
ACPI_STATUS AcpiHwSetMode(UINT32 Mode)
UINT32 AcpiHwGetMode(void)
ACPI_STATUS AcpiDisable(void)
Referenced by AcpiDisable(), and AcpiEvTerminate().
◆ AcpiDisableEvent()
Definition at line 263 of file evxfevnt.c.
266{
269
270
272
273
274
275
276 if (AcpiGbl_ReducedHardware)
277 {
279 }
280
281
282
284 {
286 }
287
288
289
290
291
296 {
298 }
299
303 {
305 }
306
308 {
312 }
313
315}
#define AE_NO_HARDWARE_RESPONSE
#define ACPI_DISABLE_EVENT
const char * AcpiUtGetEventName(UINT32 EventId)
ACPI_STATUS AcpiDisableEvent(UINT32 Event, UINT32 Flags)
ACPI_STATUS AcpiReadBitRegister(UINT32 RegisterId, UINT32 *ReturnValue)
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Referenced by AcpiDisableEvent(), AcpiEvTerminate(), and AcpiRemoveFixedEventHandler().
◆ AcpiEnable()
Definition at line 68 of file evxfevnt.c.
70{
72
73
75
76
77
78
80 {
82 }
83
84
85
86 if (AcpiGbl_ReducedHardware)
87 {
89 }
90
91
92
94 {
96 "System is already in ACPI mode\n"));
97 }
98 else
99 {
100
101
104 {
107 }
108
110 "Transition to ACPI mode successful\n"));
111 }
112
114}
#define AE_NO_ACPI_TABLES
#define ACPI_INVALID_TABLE_INDEX
#define ACPI_SYS_MODE_ACPI
ACPI_STATUS AcpiEnable(void)
Referenced by AcpiEnable(), and AcpiEnableSubsystem().
◆ AcpiEnableEvent()
Definition at line 190 of file evxfevnt.c.
193{
196
197
199
200
201
202
203 if (AcpiGbl_ReducedHardware)
204 {
206 }
207
208
209
211 {
213 }
214
215
216
217
218
223 {
225 }
226
227
228
232 {
234 }
235
237 {
241 }
242
244}
#define ACPI_ENABLE_EVENT
ACPI_STATUS AcpiEnableEvent(UINT32 Event, UINT32 Flags)
Referenced by AcpiEnableEvent(), and AcpiInstallFixedEventHandler().
◆ AcpiGetEventStatus()
Definition at line 385 of file evxfevnt.c.
388{
392
393
395
396
397 if (!EventStatus)
398 {
400 }
401
402
403
405 {
407 }
408
409
410
412 {
414 }
415
416
417
421 {
423 }
424
425 if (InByte)
426 {
427 LocalEventStatus |=
429 }
430
431
432
436 {
438 }
439
440 if (InByte)
441 {
443 }
444
445 (*EventStatus) = LocalEventStatus;
447}
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER Handler
#define ACPI_EVENT_FLAG_ENABLED
#define ACPI_EVENT_FLAG_HAS_HANDLER
#define ACPI_EVENT_FLAG_STATUS_SET
#define ACPI_EVENT_FLAG_ENABLE_SET
ACPI_STATUS AcpiGetEventStatus(UINT32 Event, ACPI_EVENT_STATUS *EventStatus)
Referenced by AcpiGetEventStatus().