From cd79f6b698625428e681e0177627392bb369a9f5 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 18 Jan 2005 23:01:17 -0500 Subject: [PATCH] Make the config stuff work on 64-bit machines objects/Pci.mpy: specify that the value is a long so that it is not interpreted as a negative value. --HG-- extra : convert_revision : 3b0df8711da5934aff0096ba54fb79da808e987b --- objects/Pci.mpy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objects/Pci.mpy b/objects/Pci.mpy index d6917b020..a7763139f 100644 --- a/objects/Pci.mpy +++ b/objects/Pci.mpy @@ -1,7 +1,7 @@ from Device import FooPioDevice, DmaDevice simobj PciConfigData(FooPioDevice): - addr = 0xffffffffffffffff + addr = 0xffffffffffffffffL VendorID = Param.UInt16("Vendor ID") DeviceID = Param.UInt16("Device ID") Command = Param.UInt16(0, "Command") @@ -47,4 +47,4 @@ simobj PciDevice(DmaDevice): pci_func = Param.Int("PCI function code") configdata = Param.PciConfigData(Super, "PCI Config data") configspace = Param.PciConfigAll(Super, "PCI Configspace") - addr = 0xffffffffffffffff + addr = 0xffffffffffffffffL