From 9f6f0423cf925c7750d62133facaae4e0fcbb698 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Sat, 16 Jan 2010 19:20:07 +0200 Subject: pci_host: rewrite using rwhandler Save a ton of code by switching pcihost to use rwhandler. Signed-off-by: Michael S. Tsirkin --- hw/pci_host.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hw/pci_host.h') diff --git a/hw/pci_host.h b/hw/pci_host.h index a006687..5ff6443 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; }; -- cgit v1.1