fetch_impl.hh (10023:91faf6649de0) fetch_impl.hh (10024:fc10e1f9f124)
1/*
2 * Copyright (c) 2010-2013 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

--- 590 unchanged lines hidden (view full) ---

599 // Setup the memReq to do a read of the first instruction's address.
600 // Set the appropriate read size and flags as well.
601 // Build request here.
602 RequestPtr mem_req =
603 new Request(tid, fetchBufferBlockPC, fetchBufferSize,
604 Request::INST_FETCH, cpu->instMasterId(), pc,
605 cpu->thread[tid]->contextId(), tid);
606
1/*
2 * Copyright (c) 2010-2013 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

--- 590 unchanged lines hidden (view full) ---

599 // Setup the memReq to do a read of the first instruction's address.
600 // Set the appropriate read size and flags as well.
601 // Build request here.
602 RequestPtr mem_req =
603 new Request(tid, fetchBufferBlockPC, fetchBufferSize,
604 Request::INST_FETCH, cpu->instMasterId(), pc,
605 cpu->thread[tid]->contextId(), tid);
606
607 mem_req->taskId(cpu->taskId());
608
607 memReq[tid] = mem_req;
608
609 // Initiate translation of the icache block
610 fetchStatus[tid] = ItlbWait;
611 FetchTranslation *trans = new FetchTranslation(this);
612 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(),
613 trans, BaseTLB::Execute);
614 return true;

--- 1043 unchanged lines hidden ---
609 memReq[tid] = mem_req;
610
611 // Initiate translation of the icache block
612 fetchStatus[tid] = ItlbWait;
613 FetchTranslation *trans = new FetchTranslation(this);
614 cpu->itb->translateTiming(mem_req, cpu->thread[tid]->getTC(),
615 trans, BaseTLB::Execute);
616 return true;

--- 1043 unchanged lines hidden ---