acpi_io.h 458 B

12345678910111213141516171819
  1. #ifndef _ACPI_IO_H_
  2. #define _ACPI_IO_H_
  3. #include <linux/io.h>
  4. #include <acpi/acpi.h>
  5. static inline void __iomem *acpi_os_ioremap(acpi_physical_address phys,
  6. acpi_size size)
  7. {
  8. return ioremap_cache(phys, size);
  9. }
  10. void __iomem *acpi_os_get_iomem(acpi_physical_address phys, unsigned int size);
  11. int acpi_os_map_generic_address(struct acpi_generic_address *addr);
  12. void acpi_os_unmap_generic_address(struct acpi_generic_address *addr);
  13. #endif