SConscript (9883:7e0dff1c165b) | SConscript (10857:d2d5212578db) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2012 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 34 unchanged lines hidden (view full) --- 43 SimObject('KvmVM.py') 44 SimObject('BaseKvmCPU.py') 45 46 Source('base.cc') 47 Source('vm.cc') 48 Source('perfevent.cc') 49 Source('timer.cc') 50 | 1# -*- mode:python -*- 2 3# Copyright (c) 2012 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 34 unchanged lines hidden (view full) --- 43 SimObject('KvmVM.py') 44 SimObject('BaseKvmCPU.py') 45 46 Source('base.cc') 47 Source('vm.cc') 48 Source('perfevent.cc') 49 Source('timer.cc') 50 |
51 if env['TARGET_ISA'] == 'arm': 52 SimObject('ArmKvmCPU.py') 53 Source('arm_cpu.cc') 54 elif env['TARGET_ISA'] == 'x86': | 51 if env['TARGET_ISA'] == 'x86': |
55 SimObject('X86KvmCPU.py') 56 Source('x86_cpu.cc') 57 58 DebugFlag('Kvm', 'Basic KVM Functionality') 59 DebugFlag('KvmContext', 'KVM/gem5 context synchronization') 60 DebugFlag('KvmIO', 'KVM MMIO diagnostics') 61 DebugFlag('KvmInt', 'KVM Interrupt handling') 62 DebugFlag('KvmRun', 'KvmRun entry/exit diagnostics') 63 DebugFlag('KvmTimer', 'KVM timing') 64 65 CompoundFlag('KvmAll', [ 'Kvm', 'KvmContext', 'KvmRun', 66 'KvmIO', 'KvmInt', 'KvmTimer' ], 67 'All KVM debug flags') | 52 SimObject('X86KvmCPU.py') 53 Source('x86_cpu.cc') 54 55 DebugFlag('Kvm', 'Basic KVM Functionality') 56 DebugFlag('KvmContext', 'KVM/gem5 context synchronization') 57 DebugFlag('KvmIO', 'KVM MMIO diagnostics') 58 DebugFlag('KvmInt', 'KVM Interrupt handling') 59 DebugFlag('KvmRun', 'KvmRun entry/exit diagnostics') 60 DebugFlag('KvmTimer', 'KVM timing') 61 62 CompoundFlag('KvmAll', [ 'Kvm', 'KvmContext', 'KvmRun', 63 'KvmIO', 'KvmInt', 'KvmTimer' ], 64 'All KVM debug flags') |