io.h (6a9f5f240adfdced863a098d34f8f05ca6ab9d5f) io.h (20e3267601f95ff62d7a3116a17a680e9f5cbcc9)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_IO_H
3#define _ASM_X86_IO_H
4
5/*
6 * This file contains the definitions for the x86 IO instructions
7 * inb/inw/inl/outb/outw/outl and the "string versions" of the same
8 * (insb/insw/insl/outsb/outsw/outsl). You can also use "pausing"

--- 357 unchanged lines hidden (view full) ---

366#define ioremap_wc ioremap_wc
367extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
368#define ioremap_wt ioremap_wt
369
370extern bool is_early_ioremap_ptep(pte_t *ptep);
371
372#ifdef CONFIG_XEN
373#include <xen/xen.h>
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_X86_IO_H
3#define _ASM_X86_IO_H
4
5/*
6 * This file contains the definitions for the x86 IO instructions
7 * inb/inw/inl/outb/outw/outl and the "string versions" of the same
8 * (insb/insw/insl/outsb/outsw/outsl). You can also use "pausing"

--- 357 unchanged lines hidden (view full) ---

366#define ioremap_wc ioremap_wc
367extern void __iomem *ioremap_wt(resource_size_t offset, unsigned long size);
368#define ioremap_wt ioremap_wt
369
370extern bool is_early_ioremap_ptep(pte_t *ptep);
371
372#ifdef CONFIG_XEN
373#include <xen/xen.h>
374struct bio_vec;
375
374
376extern bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,
377 const struct bio_vec *vec2);
378
379#define ARCH_BIOVEC_PHYS_MERGEABLE(vec1, vec2) \
380 (!xen_domain() || xen_biovec_phys_mergeable(vec1, vec2))
381#endif /* CONFIG_XEN */
382
383#define IO_SPACE_LIMIT 0xffff
384
385#include <asm-generic/io.h>
386#undef PCI_IOBASE

--- 26 unchanged lines hidden ---
375#define ARCH_BIOVEC_PHYS_MERGEABLE(vec1, vec2) \
376 (!xen_domain() || xen_biovec_phys_mergeable(vec1, vec2))
377#endif /* CONFIG_XEN */
378
379#define IO_SPACE_LIMIT 0xffff
380
381#include <asm-generic/io.h>
382#undef PCI_IOBASE

--- 26 unchanged lines hidden ---