base.cc (8817:c36441eed919) | base.cc (8820:f39690f70bab) |
---|---|
1/* 2 * Copyright (c) 2010-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 --- 80 unchanged lines hidden (view full) --- 89using namespace TheISA; 90 91BaseSimpleCPU::BaseSimpleCPU(BaseSimpleCPUParams *p) 92 : BaseCPU(p), traceData(NULL), thread(NULL), predecoder(NULL) 93{ 94 if (FullSystem) 95 thread = new SimpleThread(this, 0, p->system, p->itb, p->dtb); 96 else | 1/* 2 * Copyright (c) 2010-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 --- 80 unchanged lines hidden (view full) --- 89using namespace TheISA; 90 91BaseSimpleCPU::BaseSimpleCPU(BaseSimpleCPUParams *p) 92 : BaseCPU(p), traceData(NULL), thread(NULL), predecoder(NULL) 93{ 94 if (FullSystem) 95 thread = new SimpleThread(this, 0, p->system, p->itb, p->dtb); 96 else |
97 thread = new SimpleThread(this, /* thread_num */ 0, p->workload[0], 98 p->itb, p->dtb); | 97 thread = new SimpleThread(this, /* thread_num */ 0, p->system, 98 p->workload[0], p->itb, p->dtb); |
99 100 thread->setStatus(ThreadContext::Halted); 101 102 tc = thread->getTC(); 103 104#if USE_CHECKER 105 if (p->checker) { 106 BaseCPU *temp_checker = p->checker; --- 446 unchanged lines hidden --- | 99 100 thread->setStatus(ThreadContext::Halted); 101 102 tc = thread->getTC(); 103 104#if USE_CHECKER 105 if (p->checker) { 106 BaseCPU *temp_checker = p->checker; --- 446 unchanged lines hidden --- |