From 6e355d901baec118f0eb40ecd75a4278625f5d03 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Fri, 30 Oct 2009 21:21:08 +0900 Subject: pci: introduce pcibus_t to represent pci bus address/size instead of uint32_t This patch is preliminary for 64 bit BAR support. Introduce dedicated type, pcibus_t, to represent pci bus address/size instead of uint32_t. Later this type will be changed to uint64_t. Signed-off-by: Isaku Yamahata Acked-by: Michael S. Tsirkin Signed-off-by: Anthony Liguori --- hw/ne2000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ne2000.c') diff --git a/hw/ne2000.c b/hw/ne2000.c index 5fe388384..63efc3a1d 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -679,7 +679,7 @@ const VMStateDescription vmstate_pci_ne2000 = { /* PCI NE2000 definitions */ static void ne2000_map(PCIDevice *pci_dev, int region_num, - uint32_t addr, uint32_t size, int type) + pcibus_t addr, pcibus_t size, int type) { PCINE2000State *d = DO_UPCAST(PCINE2000State, dev, pci_dev); NE2000State *s = &d->ne2000; -- cgit v1.2.3