iomap.h 536 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. #ifndef _ASM_X86_IOMAP_H
  3. #define _ASM_X86_IOMAP_H
  4. /*
  5. * Copyright © 2008 Ingo Molnar
  6. */
  7. #include <linux/fs.h>
  8. #include <linux/mm.h>
  9. #include <linux/uaccess.h>
  10. #include <linux/highmem.h>
  11. #include <asm/cacheflush.h>
  12. #include <asm/tlbflush.h>
  13. void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
  14. int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
  15. void iomap_free(resource_size_t base, unsigned long size);
  16. #endif /* _ASM_X86_IOMAP_H */