cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

iomap.h (536B)


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