diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2010-01-16 19:20:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2010-02-14 16:10:53 +0200 |
commit | 9f6f0423cf925c7750d62133facaae4e0fcbb698 (patch) | |
tree | a7772ad1ad8837bc127928d67e390f1040f13a4d /hw/pci_host.h | |
parent | 049f7adbd547969ba013fed13c0a26c1f62a4a71 (diff) |
pci_host: rewrite using rwhandler
Save a ton of code by switching pcihost to use rwhandler.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci_host.h')
-rw-r--r-- | hw/pci_host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci_host.h b/hw/pci_host.h index a006687f8b..5ff64430ed 100644 --- a/hw/pci_host.h +++ b/hw/pci_host.h @@ -29,9 +29,13 @@ #define PCI_HOST_H #include "sysbus.h" +#include "rwhandler.h" struct PCIHostState { SysBusDevice busdev; + ReadWriteHandler conf_noswap_handler; + ReadWriteHandler conf_handler; + ReadWriteHandler data_handler; uint32_t config_reg; PCIBus *bus; }; |