fetch1.cc (11428:20264eb69fbf) fetch1.cc (11429:cf5af0cc3be4)
1/*
2 * Copyright (c) 2013-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

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

130 lineSeqNum);
131
132 FetchRequestPtr request = new FetchRequest(*this, request_id, pc);
133
134 DPRINTF(Fetch, "Inserting fetch into the fetch queue "
135 "%s addr: 0x%x pc: %s line_offset: %d request_size: %d\n",
136 request_id, aligned_pc, pc, line_offset, request_size);
137
1/*
2 * Copyright (c) 2013-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

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

130 lineSeqNum);
131
132 FetchRequestPtr request = new FetchRequest(*this, request_id, pc);
133
134 DPRINTF(Fetch, "Inserting fetch into the fetch queue "
135 "%s addr: 0x%x pc: %s line_offset: %d request_size: %d\n",
136 request_id, aligned_pc, pc, line_offset, request_size);
137
138 request->request.setContext(cpu.threads[0]->getTC()->contextId());
138 request->request.setThreadContext(cpu.threads[0]->getTC()->contextId(),
139 /* thread id */ 0);
139 request->request.setVirt(0 /* asid */,
140 aligned_pc, request_size, Request::INST_FETCH, cpu.instMasterId(),
141 /* I've no idea why we need the PC, but give it */
142 pc.instAddr());
143
144 DPRINTF(Fetch, "Submitting ITLB request\n");
145 numFetchesInITLB++;
146

--- 530 unchanged lines hidden ---
140 request->request.setVirt(0 /* asid */,
141 aligned_pc, request_size, Request::INST_FETCH, cpu.instMasterId(),
142 /* I've no idea why we need the PC, but give it */
143 pc.instAddr());
144
145 DPRINTF(Fetch, "Submitting ITLB request\n");
146 numFetchesInITLB++;
147

--- 530 unchanged lines hidden ---