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

swiotlb-xen.h (557B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASM_X86_SWIOTLB_XEN_H
      3#define _ASM_X86_SWIOTLB_XEN_H
      4
      5#ifdef CONFIG_SWIOTLB_XEN
      6extern int pci_xen_swiotlb_init_late(void);
      7#else
      8static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
      9#endif
     10
     11int xen_swiotlb_fixup(void *buf, unsigned long nslabs);
     12int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
     13				unsigned int address_bits,
     14				dma_addr_t *dma_handle);
     15void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order);
     16
     17#endif /* _ASM_X86_SWIOTLB_XEN_H */