BaseCPU.py (11150:a8a64cca231b) BaseCPU.py (11415:d6c8016a9a03)
1# Copyright (c) 2012-2013, 2015 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

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

96 code('''
97 void switchOut();
98 void takeOverFrom(BaseCPU *cpu);
99 bool switchedOut();
100 void flushTLBs();
101 Counter totalInsts();
102 void scheduleInstStop(ThreadID tid, Counter insts, const char *cause);
103 void scheduleLoadStop(ThreadID tid, Counter loads, const char *cause);
1# Copyright (c) 2012-2013, 2015 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

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

96 code('''
97 void switchOut();
98 void takeOverFrom(BaseCPU *cpu);
99 bool switchedOut();
100 void flushTLBs();
101 Counter totalInsts();
102 void scheduleInstStop(ThreadID tid, Counter insts, const char *cause);
103 void scheduleLoadStop(ThreadID tid, Counter loads, const char *cause);
104 uint64_t getCurrentInstCount(ThreadID tid);
104''')
105
106 @classmethod
107 def memory_mode(cls):
108 """Which memory mode does this CPU require?"""
109 return 'invalid'
110
111 @classmethod

--- 191 unchanged lines hidden ---
105''')
106
107 @classmethod
108 def memory_mode(cls):
109 """Which memory mode does this CPU require?"""
110 return 'invalid'
111
112 @classmethod

--- 191 unchanged lines hidden ---