Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 #ifndef _ASM_X86_IOMAP_H
0003 #define _ASM_X86_IOMAP_H
0004 
0005 /*
0006  * Copyright © 2008 Ingo Molnar
0007  */
0008 
0009 #include <linux/fs.h>
0010 #include <linux/mm.h>
0011 #include <linux/uaccess.h>
0012 #include <linux/highmem.h>
0013 #include <asm/cacheflush.h>
0014 #include <asm/tlbflush.h>
0015 
0016 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
0017 
0018 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
0019 
0020 void iomap_free(resource_size_t base, unsigned long size);
0021 
0022 #endif /* _ASM_X86_IOMAP_H */