summaryrefslogtreecommitdiff
path: root/src/dev/arm/SConscript
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2016-11-07 18:21:43 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2018-06-07 17:33:30 +0000
commitc5c71a751676a5adecad8ac43ec85b6c4c66ebf0 (patch)
treeade68beb4edf155b37285f9c573bb8e763f24d78 /src/dev/arm/SConscript
parent409fbc653f5177f9f1da91877591a27b27302a3b (diff)
downloadgem5-c5c71a751676a5adecad8ac43ec85b6c4c66ebf0.tar.xz
dev-arm: Add a MMIO transport interface for VirtIO
The MMIO interface currently only supports a subset of version 0.9.5 of the VirtIO specification. It has the following known limitations: * The queue size hint (the QUEUE_NUM register) is ignored. * Queue alignment is assumed to be hard-coded to VirtQueue::ALIGN_SIZE (4096 bytes). * Only 4096 byte pages are currently supported. Change-Id: Ifd318f5e5bddab0b6a42d8c8af9ff2fbb477f98b Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-by: Rekai Gonzalez Alberquilla <rekai.gonzalezalberquilla@arm.com> Reviewed-on: https://gem5-review.googlesource.com/2326 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Diffstat (limited to 'src/dev/arm/SConscript')
-rw-r--r--src/dev/arm/SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/arm/SConscript b/src/dev/arm/SConscript
index ae3ed7194..d45858925 100644
--- a/src/dev/arm/SConscript
+++ b/src/dev/arm/SConscript
@@ -47,6 +47,7 @@ if env['TARGET_ISA'] == 'arm':
SimObject('UFSHostDevice.py')
SimObject('EnergyCtrl.py')
SimObject('NoMali.py')
+ SimObject('VirtIOMMIO.py')
Source('a9scu.cc')
Source('amba_device.cc')
@@ -69,6 +70,7 @@ if env['TARGET_ISA'] == 'arm':
Source('timer_cpulocal.cc')
Source('timer_a9global.cc')
Source('vgic.cc')
+ Source('vio_mmio.cc')
Source('ufs_device.cc')
Source('energy_ctrl.cc')