BaseCPU.py (12122:20512f6810d7) | BaseCPU.py (12276:22c220be30c5) |
---|---|
1# Copyright (c) 2012-2013, 2015 ARM Limited | 1# Copyright (c) 2012-2013, 2015-2017 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 9# terms below provided that you ensure that this notice is replicated --- 120 unchanged lines hidden (view full) --- 130 def takeOverFrom(self, old_cpu): 131 self._ccObject.takeOverFrom(old_cpu._ccObject) 132 133 134 system = Param.System(Parent.any, "system object") 135 cpu_id = Param.Int(-1, "CPU identifier") 136 socket_id = Param.Unsigned(0, "Physical Socket identifier") 137 numThreads = Param.Unsigned(1, "number of HW thread contexts") | 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 9# terms below provided that you ensure that this notice is replicated --- 120 unchanged lines hidden (view full) --- 130 def takeOverFrom(self, old_cpu): 131 self._ccObject.takeOverFrom(old_cpu._ccObject) 132 133 134 system = Param.System(Parent.any, "system object") 135 cpu_id = Param.Int(-1, "CPU identifier") 136 socket_id = Param.Unsigned(0, "Physical Socket identifier") 137 numThreads = Param.Unsigned(1, "number of HW thread contexts") |
138 pwr_gating_latency = Param.Cycles(300, 139 "Latency to enter power gating state when all contexts are suspended") |
|
138 139 function_trace = Param.Bool(False, "Enable function trace") 140 function_trace_start = Param.Tick(0, "Tick to start function trace") 141 142 checker = Param.BaseCPU(NULL, "checker CPU") 143 144 syscallRetryLatency = Param.Cycles(10000, "Cycles to wait until retry") 145 --- 176 unchanged lines hidden --- | 140 141 function_trace = Param.Bool(False, "Enable function trace") 142 function_trace_start = Param.Tick(0, "Tick to start function trace") 143 144 checker = Param.BaseCPU(NULL, "checker CPU") 145 146 syscallRetryLatency = Param.Cycles(10000, "Cycles to wait until retry") 147 --- 176 unchanged lines hidden --- |