summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/acpiosxf.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/acpiosxf.h')
-rw-r--r--sys/contrib/dev/acpica/acpiosxf.h43
1 files changed, 24 insertions, 19 deletions
diff --git a/sys/contrib/dev/acpica/acpiosxf.h b/sys/contrib/dev/acpica/acpiosxf.h
index acbd985..d0e82b2 100644
--- a/sys/contrib/dev/acpica/acpiosxf.h
+++ b/sys/contrib/dev/acpica/acpiosxf.h
@@ -151,19 +151,6 @@ typedef struct acpi_signal_fatal_info
/*
- * Types specific to the OS service interfaces
- */
-
-typedef UINT32
-(ACPI_SYSTEM_XFACE *OSD_HANDLER) (
- void *Context);
-
-typedef void
-(ACPI_SYSTEM_XFACE *OSD_EXECUTION_CALLBACK) (
- void *Context);
-
-
-/*
* OSL Initialization and shutdown primitives
*/
@@ -221,6 +208,24 @@ AcpiOsSignalSemaphore (
ACPI_HANDLE Handle,
UINT32 Units);
+ACPI_STATUS
+AcpiOsCreateLock (
+ ACPI_HANDLE *OutHandle);
+
+void
+AcpiOsDeleteLock (
+ ACPI_HANDLE Handle);
+
+void
+AcpiOsAcquireLock (
+ ACPI_HANDLE Handle,
+ UINT32 Flags);
+
+void
+AcpiOsReleaseLock (
+ ACPI_HANDLE Handle,
+ UINT32 Flags);
+
/*
* Memory allocation and mapping
@@ -298,13 +303,13 @@ AcpiOsStall (
ACPI_STATUS
AcpiOsReadPort (
ACPI_IO_ADDRESS Address,
- void *Value,
+ UINT32 *Value,
UINT32 Width);
ACPI_STATUS
AcpiOsWritePort (
ACPI_IO_ADDRESS Address,
- ACPI_INTEGER Value,
+ UINT32 Value,
UINT32 Width);
@@ -315,13 +320,13 @@ AcpiOsWritePort (
ACPI_STATUS
AcpiOsReadMemory (
ACPI_PHYSICAL_ADDRESS Address,
- void *Value,
+ UINT32 *Value,
UINT32 Width);
ACPI_STATUS
AcpiOsWriteMemory (
ACPI_PHYSICAL_ADDRESS Address,
- ACPI_INTEGER Value,
+ UINT32 Value,
UINT32 Width);
@@ -359,12 +364,12 @@ AcpiOsDerivePciId(
BOOLEAN
AcpiOsReadable (
void *Pointer,
- UINT32 Length);
+ ACPI_SIZE Length);
BOOLEAN
AcpiOsWritable (
void *Pointer,
- UINT32 Length);
+ ACPI_SIZE Length);
UINT32
AcpiOsGetTimer (
OpenPOWER on IntegriCloud