diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-01-18 23:01:17 -0500 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-01-18 23:01:17 -0500 |
commit | cd79f6b698625428e681e0177627392bb369a9f5 (patch) | |
tree | 9b102afd3a1afe8ca1a290a1415c59bd48debc8e /objects | |
parent | e8d5895f3f94798d21261b2171abc3327feb2f63 (diff) | |
download | gem5-cd79f6b698625428e681e0177627392bb369a9f5.tar.xz |
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
Diffstat (limited to 'objects')
-rw-r--r-- | objects/Pci.mpy | 4 |
1 files 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 |