System.py (11838:0b311345ac72) | System.py (11839:dd6df2e47c14) |
---|---|
1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 15 unchanged lines hidden (view full) --- 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Authors: Nathan Binkert 29# Rick Strong 30 31from m5.SimObject import SimObject | 1# Copyright (c) 2005-2007 The Regents of The University of Michigan 2# Copyright (c) 2011 Regents of the University of California 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 15 unchanged lines hidden (view full) --- 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# 28# Authors: Nathan Binkert 29# Rick Strong 30 31from m5.SimObject import SimObject |
32from m5.defines import buildEnv |
|
32from m5.params import * 33from m5.proxy import * 34 35from DVFSHandler import * 36from SimpleMemory import * 37 38class MemoryMode(Enum): vals = ['invalid', 'atomic', 'timing', 39 'atomic_noncaching'] --- 61 unchanged lines hidden (view full) --- 101 load_offset = Param.UInt64(0, "Address to offset loading binaries with") 102 103 multi_thread = Param.Bool(False, 104 "Supports multi-threaded CPUs? Impacts Thread/Context IDs") 105 106 # Dynamic voltage and frequency handler for the system, disabled by default 107 # Provide list of domains that need to be controlled by the handler 108 dvfs_handler = DVFSHandler() | 33from m5.params import * 34from m5.proxy import * 35 36from DVFSHandler import * 37from SimpleMemory import * 38 39class MemoryMode(Enum): vals = ['invalid', 'atomic', 'timing', 40 'atomic_noncaching'] --- 61 unchanged lines hidden (view full) --- 102 load_offset = Param.UInt64(0, "Address to offset loading binaries with") 103 104 multi_thread = Param.Bool(False, 105 "Supports multi-threaded CPUs? Impacts Thread/Context IDs") 106 107 # Dynamic voltage and frequency handler for the system, disabled by default 108 # Provide list of domains that need to be controlled by the handler 109 dvfs_handler = DVFSHandler() |
110 111 if buildEnv['USE_KVM']: 112 kvm_vm = Param.KvmVM(NULL, 'KVM VM (i.e., shared memory domain)') |
|