ia64/xen-unstable

view extras/mini-os/include/pcifront.h @ 19836:d9890e67d2b7

tools: add SHAREDIR to buildmakevars2file

c/s 19818 dropped SHAREDIR from xen/util/path.py, which broke the "xm
new" command. This patch adds SHAREDIR back to the new
buildmakevars2file-closure function.

Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:05:10 2009 +0100 (2009-06-25)
parents 707e10c9a487
children
line source
1 #include <mini-os/types.h>
2 #include <xen/io/pciif.h>
3 struct pcifront_dev;
4 struct pcifront_dev *init_pcifront(char *nodename);
5 void pcifront_op(struct pcifront_dev *dev, struct xen_pci_op *op);
6 void pcifront_scan(struct pcifront_dev *dev, void (*fun)(unsigned int domain, unsigned int bus, unsigned slot, unsigned int fun));
7 int pcifront_conf_read(struct pcifront_dev *dev,
8 unsigned int dom,
9 unsigned int bus, unsigned int slot, unsigned long fun,
10 unsigned int off, unsigned int size, unsigned int *val);
11 int pcifront_conf_write(struct pcifront_dev *dev,
12 unsigned int dom,
13 unsigned int bus, unsigned int slot, unsigned long fun,
14 unsigned int off, unsigned int size, unsigned int val);
15 int pcifront_enable_msi(struct pcifront_dev *dev,
16 unsigned int dom,
17 unsigned int bus, unsigned int slot, unsigned long fun);
18 int pcifront_disable_msi(struct pcifront_dev *dev,
19 unsigned int dom,
20 unsigned int bus, unsigned int slot, unsigned long fun);
21 int pcifront_enable_msix(struct pcifront_dev *dev,
22 unsigned int dom,
23 unsigned int bus, unsigned int slot, unsigned long fun,
24 struct xen_msix_entry *entries, int n);
25 int pcifront_disable_msix(struct pcifront_dev *dev,
26 unsigned int dom,
27 unsigned int bus, unsigned int slot, unsigned long fun);
28 void shutdown_pcifront(struct pcifront_dev *dev);