8 #ifndef acpi_os_ioremap
9 static inline void __iomem
*acpi_os_ioremap(acpi_physical_address phys
,
12 return ioremap_cache(phys
, size
);
16 extern bool acpi_permanent_mmap
;
19 acpi_os_map_iomem(acpi_physical_address phys
, acpi_size size
);
20 void __ref
acpi_os_unmap_iomem(void __iomem
*virt
, acpi_size size
);
21 void __iomem
*acpi_os_get_iomem(acpi_physical_address phys
, unsigned int size
);
23 int acpi_os_map_generic_address(struct acpi_generic_address
*addr
);
24 void acpi_os_unmap_generic_address(struct acpi_generic_address
*addr
);