BaseCPU.py (9650:d79319eb68d5) BaseCPU.py (9749:cffb82b745cf)
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

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

94 @classmethod
95 def export_methods(cls, code):
96 code('''
97 void switchOut();
98 void takeOverFrom(BaseCPU *cpu);
99 bool switchedOut();
100 void flushTLBs();
101 Counter totalInsts();
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

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

94 @classmethod
95 def export_methods(cls, code):
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);
102''')
103
104 @classmethod
105 def memory_mode(cls):
106 """Which memory mode does this CPU require?"""
107 return 'invalid'
108
109 @classmethod

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

--- 188 unchanged lines hidden ---