3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-01 07:42:18 +00:00
Brooklyn/arch/x86/include/asm/iomap.h

28 lines
553 B
C
Raw Normal View History

2021-05-26 19:09:36 +00: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 16:59:15 +00:00
void __iomem *
iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
2021-05-26 19:09:36 +00:00
2021-09-23 16:59:15 +00:00
void
iounmap_atomic(void __iomem *kvaddr);
2021-05-26 19:09:36 +00:00
2021-09-23 16:59:15 +00: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-26 19:09:36 +00:00
#endif /* _ASM_X86_IOMAP_H */