BaseCPU.py (9647:5b6b315472e7) | BaseCPU.py (9650:d79319eb68d5) |
---|---|
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 --- 84 unchanged lines hidden (view full) --- 93 94 @classmethod 95 def export_methods(cls, code): 96 code(''' 97 void switchOut(); 98 void takeOverFrom(BaseCPU *cpu); 99 bool switchedOut(); 100 void flushTLBs(); | 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 --- 84 unchanged lines hidden (view full) --- 93 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(); |
|
101''') 102 103 @classmethod 104 def memory_mode(cls): 105 """Which memory mode does this CPU require?""" 106 return 'invalid' 107 108 @classmethod --- 188 unchanged lines hidden --- | 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 --- |