154#ifndef __ACPIOSXF_H__
155#define __ACPIOSXF_H__
157#include "platform/acenv.h"
165 OSL_GLOBAL_LOCK_HANDLER,
168 OSL_DEBUGGER_MAIN_THREAD,
169 OSL_DEBUGGER_EXEC_THREAD,
175#define ACPI_NO_UNIT_LIMIT ((UINT32) -1)
176#define ACPI_MUTEX_SEM 1
181#define ACPI_SIGNAL_FATAL 0
182#define ACPI_SIGNAL_BREAKPOINT 1
196#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInitialize
202#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTerminate
212#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetRootPointer
214AcpiOsGetRootPointer (
218#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPredefinedOverride
220AcpiOsPredefinedOverride (
222 ACPI_STRING *NewVal);
225#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTableOverride
232#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPhysicalTableOverride
234AcpiOsPhysicalTableOverride (
236 ACPI_PHYSICAL_ADDRESS *NewAddress,
237 UINT32 *NewTableLength);
244#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateLock
247 ACPI_SPINLOCK *OutHandle);
250#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteLock
253 ACPI_SPINLOCK Handle);
256#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireLock
259 ACPI_SPINLOCK Handle);
262#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseLock
265 ACPI_SPINLOCK Handle,
266 ACPI_CPU_FLAGS Flags);
273#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateSemaphore
275AcpiOsCreateSemaphore (
278 ACPI_SEMAPHORE *OutHandle);
281#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteSemaphore
283AcpiOsDeleteSemaphore (
284 ACPI_SEMAPHORE Handle);
287#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitSemaphore
290 ACPI_SEMAPHORE Handle,
295#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSignalSemaphore
297AcpiOsSignalSemaphore (
298 ACPI_SEMAPHORE Handle,
307#if (ACPI_MUTEX_TYPE != ACPI_BINARY_SEMAPHORE)
309#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateMutex
312 ACPI_MUTEX *OutHandle);
315#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteMutex
321#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireMutex
328#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseMutex
340#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAllocate
346#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAllocateZeroed
348AcpiOsAllocateZeroed (
352#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsFree
358#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsMapMemory
361 ACPI_PHYSICAL_ADDRESS Where,
365#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsUnmapMemory
368 void *LogicalAddress,
372#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetPhysicalAddress
374AcpiOsGetPhysicalAddress (
375 void *LogicalAddress,
376 ACPI_PHYSICAL_ADDRESS *PhysicalAddress);
383#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCreateCache
389 ACPI_CACHE_T **ReturnCache);
392#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsDeleteCache
395 ACPI_CACHE_T *Cache);
398#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPurgeCache
401 ACPI_CACHE_T *Cache);
404#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsAcquireObject
407 ACPI_CACHE_T *Cache);
410#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReleaseObject
421#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInstallInterruptHandler
423AcpiOsInstallInterruptHandler (
424 UINT32 InterruptNumber,
425 ACPI_OSD_HANDLER ServiceRoutine,
429#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsRemoveInterruptHandler
431AcpiOsRemoveInterruptHandler (
432 UINT32 InterruptNumber,
433 ACPI_OSD_HANDLER ServiceRoutine);
440#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetThreadId
446#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsExecute
449 ACPI_EXECUTE_TYPE Type,
450 ACPI_OSD_EXEC_CALLBACK Function,
454#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitEventsComplete
456AcpiOsWaitEventsComplete (
460#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSleep
463 UINT64 Milliseconds);
466#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsStall
469 UINT32 Microseconds);
476#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadPort
479 ACPI_IO_ADDRESS Address,
484#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritePort
487 ACPI_IO_ADDRESS Address,
496#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadMemory
499 ACPI_PHYSICAL_ADDRESS Address,
504#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWriteMemory
507 ACPI_PHYSICAL_ADDRESS Address,
518#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadPciConfiguration
520AcpiOsReadPciConfiguration (
527#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritePciConfiguration
529AcpiOsWritePciConfiguration (
540#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsReadable
547#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWritable
554#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTimer
560#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsSignal
567#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsEnterSleep
579#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsPrintf
581void ACPI_INTERNAL_VAR_XFACE
587#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsVprintf
594#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsRedirectOutput
596AcpiOsRedirectOutput (
604#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetLine
612#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsInitializeDebugger
614AcpiOsInitializeDebugger (
618#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTerminateDebugger
620AcpiOsTerminateDebugger (
624#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsWaitCommandReady
626AcpiOsWaitCommandReady (
630#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsNotifyCommandComplete
632AcpiOsNotifyCommandComplete (
636#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsTracePoint
639 ACPI_TRACE_EVENT_TYPE Type,
649#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByName
651AcpiOsGetTableByName (
655 ACPI_PHYSICAL_ADDRESS *Address);
658#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByIndex
660AcpiOsGetTableByIndex (
664 ACPI_PHYSICAL_ADDRESS *Address);
667#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetTableByAddress
669AcpiOsGetTableByAddress (
670 ACPI_PHYSICAL_ADDRESS Address,
678#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsOpenDirectory
683 char RequestedFileType);
688#define REQUEST_FILE_ONLY 0
689#define REQUEST_DIR_ONLY 1
692#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsGetNextFilename
694AcpiOsGetNextFilename (
698#ifndef ACPI_USE_ALTERNATE_PROTOTYPE_AcpiOsCloseDirectory
700AcpiOsCloseDirectory (
Test context for spec:/rtems/barrier/req/create test case.
Definition: tc-barrier-create.c:144
Definition: actypes.h:1457
Definition: actypes.h:1179
Definition: acpiosxf.h:185