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
This commit is contained in:
parent
e8d5895f3f
commit
cd79f6b698
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue