summaryrefslogtreecommitdiff
path: root/src/cpu/kvm/SConscript
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2013-04-22 13:20:32 -0400
committerAndreas Sandberg <andreas.sandberg@arm.com>2013-04-22 13:20:32 -0400
commitf15602015877c56f69c3fcb66e901501c44866d9 (patch)
tree95899a21bfa799db4fbd07cda71b99b4f81acbe9 /src/cpu/kvm/SConscript
parent6d2941d9904bdaf0805d46046a0ff43b22d77165 (diff)
downloadgem5-f15602015877c56f69c3fcb66e901501c44866d9.tar.xz
kvm: Add basic support for ARM
Architecture specific limitations: * LPAE is currently not supported by gem5. We therefore panic if LPAE is enabled when returning to gem5. * The co-processor based interface to the architected timer is unsupported. We can't support this due to limitations in the KVM API on ARM. * M5 ops are currently not supported. This requires either a kernel hack or a memory mapped device that handles the guest<->m5 interface.
Diffstat (limited to 'src/cpu/kvm/SConscript')
-rw-r--r--src/cpu/kvm/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/kvm/SConscript b/src/cpu/kvm/SConscript
index a567720fa..56cc660cb 100644
--- a/src/cpu/kvm/SConscript
+++ b/src/cpu/kvm/SConscript
@@ -48,6 +48,10 @@ if env['USE_KVM']:
Source('perfevent.cc')
Source('timer.cc')
+ if env['TARGET_ISA'] == 'arm':
+ SimObject('ArmKvmCPU.py')
+ Source('arm_cpu.cc')
+
DebugFlag('Kvm', 'Basic KVM Functionality')
DebugFlag('KvmContext', 'KVM/gem5 context synchronization')
DebugFlag('KvmIO', 'KVM MMIO diagnostics')