cpu.cc (3319:1ec49a9bfaa3) | cpu.cc (3402:db60546818d0) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 173 unchanged lines hidden (view full) --- 182 params->backComSize + params->forwardComSize, 183 params->activity), 184 185 globalSeqNum(1), 186#if FULL_SYSTEM 187 system(params->system), 188 physmem(system->physmem), 189#endif // FULL_SYSTEM | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 173 unchanged lines hidden (view full) --- 182 params->backComSize + params->forwardComSize, 183 params->activity), 184 185 globalSeqNum(1), 186#if FULL_SYSTEM 187 system(params->system), 188 physmem(system->physmem), 189#endif // FULL_SYSTEM |
190 mem(params->mem), | |
191 drainCount(0), 192 deferRegistration(params->deferRegistration), 193 numThreads(number_of_threads) 194{ 195 if (!deferRegistration) { 196 _status = Running; 197 } else { 198 _status = Idle; 199 } 200 201 checker = NULL; 202 203 if (params->checker) { 204#if USE_CHECKER 205 BaseCPU *temp_checker = params->checker; 206 checker = dynamic_cast<Checker<DynInstPtr> *>(temp_checker); | 190 drainCount(0), 191 deferRegistration(params->deferRegistration), 192 numThreads(number_of_threads) 193{ 194 if (!deferRegistration) { 195 _status = Running; 196 } else { 197 _status = Idle; 198 } 199 200 checker = NULL; 201 202 if (params->checker) { 203#if USE_CHECKER 204 BaseCPU *temp_checker = params->checker; 205 checker = dynamic_cast<Checker<DynInstPtr> *>(temp_checker); |
207 checker->setMemory(mem); | |
208#if FULL_SYSTEM 209 checker->setSystem(params->system); 210#endif 211#else 212 panic("Checker enabled but not compiled in!"); 213#endif // USE_CHECKER 214 } 215 --- 1234 unchanged lines hidden --- | 206#if FULL_SYSTEM 207 checker->setSystem(params->system); 208#endif 209#else 210 panic("Checker enabled but not compiled in!"); 211#endif // USE_CHECKER 212 } 213 --- 1234 unchanged lines hidden --- |