timing.cc (12386:2bf5fb25a5f1) | timing.cc (12748:ae5ce8e42de7) |
---|---|
1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2010-2013,2015,2017 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 606 unchanged lines hidden (view full) --- 615 return; 616 617 TheISA::PCState pcState = thread->pcState(); 618 bool needToFetch = !isRomMicroPC(pcState.microPC()) && 619 !curMacroStaticInst; 620 621 if (needToFetch) { 622 _status = BaseSimpleCPU::Running; | 1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2010-2013,2015,2017 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 606 unchanged lines hidden (view full) --- 615 return; 616 617 TheISA::PCState pcState = thread->pcState(); 618 bool needToFetch = !isRomMicroPC(pcState.microPC()) && 619 !curMacroStaticInst; 620 621 if (needToFetch) { 622 _status = BaseSimpleCPU::Running; |
623 Request *ifetch_req = new Request(); | 623 RequestPtr ifetch_req = new Request(); |
624 ifetch_req->taskId(taskId()); 625 ifetch_req->setContext(thread->contextId()); 626 setupFetchRequest(ifetch_req); 627 DPRINTF(SimpleCPU, "Translating address %#x\n", ifetch_req->getVaddr()); 628 thread->itb->translateTiming(ifetch_req, thread->getTC(), 629 &fetchTranslation, BaseTLB::Execute); 630 } else { 631 _status = IcacheWaitResponse; --- 392 unchanged lines hidden --- | 624 ifetch_req->taskId(taskId()); 625 ifetch_req->setContext(thread->contextId()); 626 setupFetchRequest(ifetch_req); 627 DPRINTF(SimpleCPU, "Translating address %#x\n", ifetch_req->getVaddr()); 628 thread->itb->translateTiming(ifetch_req, thread->getTC(), 629 &fetchTranslation, BaseTLB::Execute); 630 } else { 631 _status = IcacheWaitResponse; --- 392 unchanged lines hidden --- |