patch-2.4.0-prerelease linux/drivers/acpi/include/acpiosxf.h
Next file: linux/drivers/acpi/include/acpixf.h
Previous file: linux/drivers/acpi/include/acparser.h
Back to the patch index
Back to the overall index
- Lines: 75
- Date:
Fri Dec 29 14:07:21 2000
- Orig file:
v2.4.0-test12/linux/drivers/acpi/include/acpiosxf.h
- Orig date:
Sun Oct 8 10:50:14 2000
diff -u --recursive --new-file v2.4.0-test12/linux/drivers/acpi/include/acpiosxf.h linux/drivers/acpi/include/acpiosxf.h
@@ -1,9 +1,9 @@
/******************************************************************************
*
- * Name: acpiosd.h - All interfaces to the OS-dependent layer. These
- * interfaces must be implemented by the OS-dependent
- * front-end to the ACPI subsystem.
+ * Name: acpiosxf.h - All interfaces to the OS-dependent layer. These
+ * interfaces must be implemented by the OS-dependent
+ * front-end to the ACPI subsystem.
*
*****************************************************************************/
@@ -35,10 +35,10 @@
/* Priorities for Acpi_os_queue_for_execution */
-#define OSD_PRIORITY_HIGH 1
-#define OSD_PRIORITY_MED 2
-#define OSD_PRIORITY_LO 3
-#define OSD_PRIORITY_GPE OSD_PRIORITY_HIGH
+#define OSD_PRIORITY_GPE 1
+#define OSD_PRIORITY_HIGH 2
+#define OSD_PRIORITY_MED 3
+#define OSD_PRIORITY_LO 4
#define ACPI_NO_UNIT_LIMIT ((u32) -1)
#define ACPI_MUTEX_SEM 1
@@ -112,7 +112,7 @@
ACPI_STATUS
acpi_os_map_memory (
- void *physical_address,
+ ACPI_PHYSICAL_ADDRESS physical_address,
u32 length,
void **logical_address);
@@ -187,6 +187,37 @@
void
acpi_os_out32 (
ACPI_IO_ADDRESS out_port,
+ u32 value);
+
+/*
+ * Platform/Hardware independent physical memory interfaces
+ */
+
+u8
+acpi_os_mem_in8 (
+ ACPI_PHYSICAL_ADDRESS in_addr);
+
+u16
+acpi_os_mem_in16 (
+ ACPI_PHYSICAL_ADDRESS in_addr);
+
+u32
+acpi_os_mem_in32 (
+ ACPI_PHYSICAL_ADDRESS in_addr);
+
+void
+acpi_os_mem_out8 (
+ ACPI_PHYSICAL_ADDRESS out_addr,
+ u8 value);
+
+void
+acpi_os_mem_out16 (
+ ACPI_PHYSICAL_ADDRESS out_addr,
+ u16 value);
+
+void
+acpi_os_mem_out32 (
+ ACPI_PHYSICAL_ADDRESS out_addr,
u32 value);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)