changeset c926270c33c8 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=c926270c33c8
description:
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 <[email protected]>
diffstat:
src/dev/virtio/VirtIO.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 54cf9a388a9d -r c926270c33c8 src/dev/virtio/VirtIO.py
--- a/src/dev/virtio/VirtIO.py Mon May 16 15:36:24 2016 -0400
+++ b/src/dev/virtio/VirtIO.py Thu May 19 15:19:34 2016 -0500
@@ -65,7 +65,7 @@
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
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev