cpu.cc (9176:6807aa361e80) | cpu.cc (9384:877293183bdf) |
---|---|
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 --- 82 unchanged lines hidden (view full) --- 91 92CheckerCPU::~CheckerCPU() 93{ 94} 95 96void 97CheckerCPU::setSystem(System *system) 98{ | 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 --- 82 unchanged lines hidden (view full) --- 91 92CheckerCPU::~CheckerCPU() 93{ 94} 95 96void 97CheckerCPU::setSystem(System *system) 98{ |
99 const Params *p(dynamic_cast<const Params *>(_params)); 100 |
|
99 systemPtr = system; 100 101 if (FullSystem) { | 101 systemPtr = system; 102 103 if (FullSystem) { |
102 thread = new SimpleThread(this, 0, systemPtr, itb, dtb, false); | 104 thread = new SimpleThread(this, 0, systemPtr, itb, dtb, 105 p->isa[0], false); |
103 } else { 104 thread = new SimpleThread(this, 0, systemPtr, 105 workload.size() ? workload[0] : NULL, | 106 } else { 107 thread = new SimpleThread(this, 0, systemPtr, 108 workload.size() ? workload[0] : NULL, |
106 itb, dtb); | 109 itb, dtb, p->isa[0]); |
107 } 108 109 tc = thread->getTC(); 110 threadContexts.push_back(tc); 111 thread->kernelStats = NULL; 112 // Thread should never be null after this 113 assert(thread != NULL); 114} --- 238 unchanged lines hidden --- | 110 } 111 112 tc = thread->getTC(); 113 threadContexts.push_back(tc); 114 thread->kernelStats = NULL; 115 // Thread should never be null after this 116 assert(thread != NULL); 117} --- 238 unchanged lines hidden --- |