From: Bjoern A. Zeeb Date: Thu, 19 May 2016 20:19:34 +0000 (-0500) Subject: dev, virtio: properly set PCI address space to use IOREG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce610dcab118fe2ae907854429725a4c169cfd56;p=gem5.git dev, virtio: properly set PCI address space to use IOREG VirtIO spec < 1.0 demands IOREG to be used on PCI and not memory mapped. Set the correct bit on the PCI address accordingly. Committed by Jason Lowe-Power --- diff --git a/src/dev/virtio/VirtIO.py b/src/dev/virtio/VirtIO.py index 81bf6e3b8..1345c7603 100644 --- a/src/dev/virtio/VirtIO.py +++ b/src/dev/virtio/VirtIO.py @@ -65,7 +65,7 @@ class PciVirtIO(PciDevice): ClassCode = 0xff # Misc device - BAR0 = 0x00000000 # Anywhere in 32-bit space + BAR0 = 0x00000001 # Anywhere in 32-bit space; IOREG BAR0Size = '0B' # Overridden by the device model InterruptPin = 0x01 # Use #INTA