fetch_impl.hh (10363:c870b43d2ba6) | fetch_impl.hh (10379:c00f6d7e2681) |
---|---|
1/* 2 * Copyright (c) 2010-2014 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 --- 619 unchanged lines hidden (view full) --- 628 FetchTranslation *trans = new FetchTranslation(this); 629 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(), 630 trans, BaseTLB::Execute); 631 return true; 632} 633 634template <class Impl> 635void | 1/* 2 * Copyright (c) 2010-2014 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 --- 619 unchanged lines hidden (view full) --- 628 FetchTranslation *trans = new FetchTranslation(this); 629 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(), 630 trans, BaseTLB::Execute); 631 return true; 632} 633 634template <class Impl> 635void |
636DefaultFetch<Impl>::finishTranslation(Fault fault, RequestPtr mem_req) | 636DefaultFetch<Impl>::finishTranslation(const Fault &fault, RequestPtr mem_req) |
637{ 638 ThreadID tid = mem_req->threadId(); 639 Addr fetchBufferBlockPC = mem_req->getVaddr(); 640 641 assert(!cpu->switchedOut()); 642 643 // Wake up CPU if it was idle 644 cpu->wakeCPU(); --- 1027 unchanged lines hidden --- | 637{ 638 ThreadID tid = mem_req->threadId(); 639 Addr fetchBufferBlockPC = mem_req->getVaddr(); 640 641 assert(!cpu->switchedOut()); 642 643 // Wake up CPU if it was idle 644 cpu->wakeCPU(); --- 1027 unchanged lines hidden --- |