base_config.py (9788:5558ee8dd7d9) base_config.py (9790:ccc428657233)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 117 unchanged lines hidden (view full) ---

126 system.vm = KvmVM()
127
128 def init_system(self, system):
129 """Initialize a system.
130
131 Arguments:
132 system -- System to initialize.
133 """
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 117 unchanged lines hidden (view full) ---

126 system.vm = KvmVM()
127
128 def init_system(self, system):
129 """Initialize a system.
130
131 Arguments:
132 system -- System to initialize.
133 """
134 system.clock = '1GHz'
134 system.cpu = self.create_cpus()
135
136 if _have_kvm_support and \
137 any([isinstance(c, BaseKvmCPU) for c in system.cpu]):
138 self.init_kvm(system)
139
140 sha_bus = self.create_caches_shared(system)
141 for cpu in system.cpu:

--- 62 unchanged lines hidden ---
135 system.cpu = self.create_cpus()
136
137 if _have_kvm_support and \
138 any([isinstance(c, BaseKvmCPU) for c in system.cpu]):
139 self.init_kvm(system)
140
141 sha_bus = self.create_caches_shared(system)
142 for cpu in system.cpu:

--- 62 unchanged lines hidden ---