3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 18:25:53 +00:00

28 lines
553 B
C
Raw Normal View History

2021-05-27 00:09:36 +05:00
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _ASM_X86_IOMAP_H
#define _ASM_X86_IOMAP_H
/*
* Copyright © 2008 Ingo Molnar
*/
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
2021-09-23 21:59:15 +05:00
void __iomem *
iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
2021-05-27 00:09:36 +05:00
2021-09-23 21:59:15 +05:00
void
iounmap_atomic(void __iomem *kvaddr);
2021-05-27 00:09:36 +05:00
2021-09-23 21:59:15 +05:00
int
iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
void
iomap_free(resource_size_t base, unsigned long size);
2021-05-27 00:09:36 +05:00
#endif /* _ASM_X86_IOMAP_H */