diff options
author | Michael S. Tsirkin | 2010-01-16 18:20:07 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2010-02-14 15:10:53 +0100 |
commit | 9f6f0423cf925c7750d62133facaae4e0fcbb698 (patch) | |
tree | a7772ad1ad8837bc127928d67e390f1040f13a4d /hw/pci_host.h | |
parent | rwhandler: simplified way to register for mem/io (diff) | |
download | qemu-9f6f0423cf925c7750d62133facaae4e0fcbb698.tar.gz qemu-9f6f0423cf925c7750d62133facaae4e0fcbb698.tar.xz qemu-9f6f0423cf925c7750d62133facaae4e0fcbb698.zip |
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; }; |