simulate.py (10912:b99a6662d7c2) simulate.py (11360:40be59176869)
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

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

303 memWriteback(system)
304 memInvalidate(system)
305
306 _changeMemoryMode(system, memory_mode)
307
308 for old_cpu, new_cpu in cpuList:
309 new_cpu.takeOverFrom(old_cpu)
310
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

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

303 memWriteback(system)
304 memInvalidate(system)
305
306 _changeMemoryMode(system, memory_mode)
307
308 for old_cpu, new_cpu in cpuList:
309 new_cpu.takeOverFrom(old_cpu)
310
311def notifyFork(root):
312 for obj in root.descendants():
313 obj.notifyFork()
314
311from internal.core import disableAllListeners
315from internal.core import disableAllListeners