Diff for /qemu/hw/pci_host.h between versions 1.1.1.7 and 1.1.1.9

version 1.1.1.7, 2018/04/24 18:38:48 version 1.1.1.9, 2018/04/24 19:48:26
Line 29 Line 29
 #define PCI_HOST_H  #define PCI_HOST_H
   
 #include "sysbus.h"  #include "sysbus.h"
 #include "rwhandler.h"  
   
 struct PCIHostState {  struct PCIHostState {
     SysBusDevice busdev;      SysBusDevice busdev;
     ReadWriteHandler conf_handler;      MemoryRegion conf_mem;
     ReadWriteHandler data_handler;      MemoryRegion data_mem;
       MemoryRegion mmcfg;
       MemoryRegion *address_space;
     uint32_t config_reg;      uint32_t config_reg;
     PCIBus *bus;      PCIBus *bus;
 };  };
   
   /* common internal helpers for PCI/PCIe hosts, cut off overflows */
   void pci_host_config_write_common(PCIDevice *pci_dev, uint32_t addr,
                                     uint32_t limit, uint32_t val, uint32_t len);
   uint32_t pci_host_config_read_common(PCIDevice *pci_dev, uint32_t addr,
                                        uint32_t limit, uint32_t len);
   
 void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, int len);  void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, int len);
 uint32_t pci_data_read(PCIBus *s, uint32_t addr, int len);  uint32_t pci_data_read(PCIBus *s, uint32_t addr, int len);
   
 /* for mmio */  extern const MemoryRegionOps pci_host_conf_le_ops;
 int pci_host_conf_register_mmio(PCIHostState *s, int endian);  extern const MemoryRegionOps pci_host_conf_be_ops;
 int pci_host_data_register_mmio(PCIHostState *s, int endian);  extern const MemoryRegionOps pci_host_data_le_ops;
   extern const MemoryRegionOps pci_host_data_be_ops;
 /* for ioio */  
 void pci_host_conf_register_ioport(pio_addr_t ioport, PCIHostState *s);  
 void pci_host_data_register_ioport(pio_addr_t ioport, PCIHostState *s);  
   
 #endif /* PCI_HOST_H */  #endif /* PCI_HOST_H */

Removed from v.1.1.1.7  
changed lines
  Added in v.1.1.1.9


unix.superglobalmegacorp.com