~ressu/+junk/xen-debian

« back to all changes in this revision

Viewing changes to xen/drivers/passthrough/vtd/vtd.h

  • Committer: sami at haahtinen
  • Author(s): Bastian Blank
  • Date: 2011-03-17 14:12:45 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: sami@haahtinen.name-20110317141245-owgqox0l0p3g5857
Tags: 4.1.0~rc6-1
* New upstream release candidate.
* Build documentation using pdflatex.
* Use python 2.6. (closes: #596545)
* Fix lintian override.
* Install new tools: xl, xenpaging.
* Enable blktap2.
  - Use own md5 implementation.
  - Fix includes.
  - Fix linking of blktap2 binaries.
  - Remove optimization setting.
* Temporarily disable hvmloader, wants to download ipxe.
* Remove xenstored pid check from xl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <xen/iommu.h>
25
25
 
 
26
#define MAP_ME_PHANTOM_FUNC      1
 
27
#define UNMAP_ME_PHANTOM_FUNC    0
 
28
 
26
29
/* Accomodate both IOAPIC and IOSAPIC. */
27
30
struct IO_xAPIC_route_entry {
28
31
    __u32   vector      :  8,
97
100
    u32 data;           /* msi message data */
98
101
};
99
102
 
100
 
unsigned int get_cache_line_size(void);
101
 
void cacheline_flush(char *);
102
 
void flush_all_cache(void);
103
 
u64 alloc_pgtable_maddr(struct acpi_drhd_unit *drhd, unsigned long npages);
104
 
void free_pgtable_maddr(u64 maddr);
105
 
void *map_vtd_domain_page(u64 maddr);
106
 
void unmap_vtd_domain_page(void *va);
107
 
 
108
 
void iommu_flush_cache_entry(void *addr, unsigned int size);
109
 
void iommu_flush_cache_page(void *addr, unsigned long npages);
110
 
 
111
 
int iommu_alloc(struct acpi_drhd_unit *drhd);
112
 
void iommu_free(struct acpi_drhd_unit *drhd);
113
 
 
114
103
#endif // _VTD_H_