simple_thread.hh (8733:64a7bf8fa56c) | simple_thread.hh (8735:dd20a8139788) |
---|---|
1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 113 unchanged lines hidden (view full) --- 122 TheISA::PCState _pcState; 123 124 /** Did this instruction execute or is it predicated false */ 125 bool predicate; 126 127 public: 128 std::string name() const 129 { | 1/* 2 * Copyright (c) 2011 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 113 unchanged lines hidden (view full) --- 122 TheISA::PCState _pcState; 123 124 /** Did this instruction execute or is it predicated false */ 125 bool predicate; 126 127 public: 128 std::string name() const 129 { |
130 return csprintf("%s.[tid:%i]", cpu->name(), tc->threadId()); | 130 return csprintf("%s.[tid:%i]", baseCpu->name(), tc->threadId()); |
131 } 132 | 131 } 132 |
133 // pointer to CPU associated with this SimpleThread 134 BaseCPU *cpu; 135 | |
136 ProxyThreadContext<SimpleThread> *tc; 137 138 System *system; 139 140 TheISA::TLB *itb; 141 TheISA::TLB *dtb; 142 143 Decoder decoder; --- 58 unchanged lines hidden (view full) --- 202 bool simPalCheck(int palFunc); 203 204#endif 205 206 /******************************************* 207 * ThreadContext interface functions. 208 ******************************************/ 209 | 133 ProxyThreadContext<SimpleThread> *tc; 134 135 System *system; 136 137 TheISA::TLB *itb; 138 TheISA::TLB *dtb; 139 140 Decoder decoder; --- 58 unchanged lines hidden (view full) --- 199 bool simPalCheck(int palFunc); 200 201#endif 202 203 /******************************************* 204 * ThreadContext interface functions. 205 ******************************************/ 206 |
210 BaseCPU *getCpuPtr() { return cpu; } | 207 BaseCPU *getCpuPtr() { return baseCpu; } |
211 212 TheISA::TLB *getITBPtr() { return itb; } 213 214 TheISA::TLB *getDTBPtr() { return dtb; } 215 216#if USE_CHECKER 217 BaseCPU *getCheckerCpuPtr() { return NULL; } 218#endif --- 210 unchanged lines hidden --- | 208 209 TheISA::TLB *getITBPtr() { return itb; } 210 211 TheISA::TLB *getDTBPtr() { return dtb; } 212 213#if USE_CHECKER 214 BaseCPU *getCheckerCpuPtr() { return NULL; } 215#endif --- 210 unchanged lines hidden --- |