lsq.cc (11056:842f56345a42) lsq.cc (11148:1bc3d93c7eaa)
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

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

1496 } else {
1497 request = new SingleDataRequest(
1498 *this, inst, isLoad, request_data, res);
1499 }
1500
1501 if (inst->traceData)
1502 inst->traceData->setMem(addr, size, flags);
1503
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

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

1496 } else {
1497 request = new SingleDataRequest(
1498 *this, inst, isLoad, request_data, res);
1499 }
1500
1501 if (inst->traceData)
1502 inst->traceData->setMem(addr, size, flags);
1503
1504 request->request.setThreadContext(cpu.cpuId(), /* thread id */ 0);
1504 int cid = cpu.threads[inst->id.threadId]->getTC()->contextId();
1505 request->request.setThreadContext(cid, /* thread id */ 0);
1505 request->request.setVirt(0 /* asid */,
1506 addr, size, flags, cpu.dataMasterId(),
1507 /* I've no idea why we need the PC, but give it */
1508 inst->pc.instAddr());
1509
1510 requests.push(request);
1511 request->startAddrTranslation();
1512}

--- 110 unchanged lines hidden ---
1506 request->request.setVirt(0 /* asid */,
1507 addr, size, flags, cpu.dataMasterId(),
1508 /* I've no idea why we need the PC, but give it */
1509 inst->pc.instAddr());
1510
1511 requests.push(request);
1512 request->startAddrTranslation();
1513}

--- 110 unchanged lines hidden ---