diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-10-07 07:50:20 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-10-07 07:50:20 +0100 |
commit | af78c0b35d00dac353936ad6f8afc7f01f91c6d2 (patch) | |
tree | ecc92aaab03a47ed5433e94f233de4413f684c46 /xen/include/xen/pci.h | |
parent | 636eaa12d90b7151f454ec45dd47679292ece9ab (diff) | |
download | xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.gz xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.tar.bz2 xen-af78c0b35d00dac353936ad6f8afc7f01f91c6d2.zip |
Scattered code arrangement cleanups.
- remove redundant declarations
- add/move prototypes to headers
- move things where they belong to
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'xen/include/xen/pci.h')
-rw-r--r-- | xen/include/xen/pci.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index 32ec850a1c..abb8584ed3 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -104,6 +104,8 @@ void pci_conf_write16( void pci_conf_write32( unsigned int bus, unsigned int dev, unsigned int func, unsigned int reg, uint32_t data); +uint32_t pci_conf_read(uint32_t cf8, uint8_t offset, uint8_t bytes); +void pci_conf_write(uint32_t cf8, uint8_t offset, uint8_t bytes, uint32_t data); int pci_mmcfg_read(unsigned int seg, unsigned int bus, unsigned int devfn, int reg, int len, u32 *value); int pci_mmcfg_write(unsigned int seg, unsigned int bus, |