From 00f82b8a3166514f634c1c010c3b6175bcc6403b Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 27 Apr 2008 21:12:55 +0000 Subject: Use correct types to enable > 2G support, based on a patch from Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/piix_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/piix_pci.c') diff --git a/hw/piix_pci.c b/hw/piix_pci.c index e1b6881cd9..90cb3a6394 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -55,7 +55,7 @@ static int pci_slot_get_pirq(PCIDevice *pci_dev, int irq_num) return (irq_num + slot_addend) & 3; } -static uint32_t isa_page_descs[384 / 4]; +static target_phys_addr_t isa_page_descs[384 / 4]; static uint8_t smm_enabled; static int pci_irq_levels[4]; -- cgit v1.2.3