diff options
Diffstat (limited to 'src/dev/Pci.py')
-rw-r--r-- | src/dev/Pci.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/dev/Pci.py b/src/dev/Pci.py index df7c773c4..a63c329a4 100644 --- a/src/dev/Pci.py +++ b/src/dev/Pci.py @@ -31,14 +31,16 @@ from m5.params import * from m5.proxy import * from Device import BasicPioDevice, DmaDevice, PioDevice -class PciConfigAll(PioDevice): +class PciConfigAll(BasicPioDevice): type = 'PciConfigAll' cxx_header = "dev/pciconfigall.hh" platform = Param.Platform(Parent.any, "Platform this device is part of.") - pio_latency = Param.Latency('30ns', "Programmed IO latency") bus = Param.UInt8(0x00, "PCI bus to act as config space for") size = Param.MemorySize32('16MB', "Size of config space") + pio_latency = '30ns' + pio_addr = 0 # will be overridden by platform-based calculation + class PciDevice(DmaDevice): type = 'PciDevice' |