lsq.cc (10259:ebb376f73dd2) lsq.cc (10368:a7cb233caa7b)
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

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

471 }
472
473 assert(fragment->hasPaddr());
474
475 PacketPtr fragment_packet =
476 makePacketForRequest(*fragment, isLoad, this, request_data);
477
478 fragmentPackets.push_back(fragment_packet);
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

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

471 }
472
473 assert(fragment->hasPaddr());
474
475 PacketPtr fragment_packet =
476 makePacketForRequest(*fragment, isLoad, this, request_data);
477
478 fragmentPackets.push_back(fragment_packet);
479 /* Accumulate flags in parent request */
480 request.setFlags(fragment->getFlags());
479 }
480
481 /* Might as well make the overall/response packet here */
482 /* Get the physical address for the whole request/packet from the first
483 * fragment */
484 request.setPaddr(fragmentRequests[0]->getPaddr());
485 makePacket();
486}

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

1024 if (do_access) {
1025 if (!canSendToMemorySystem()) {
1026 DPRINTF(MinorMem, "Can't send request to memory system yet\n");
1027 return;
1028 }
1029
1030 /* Remember if this is an access which can't be idly
1031 * discarded by an interrupt */
481 }
482
483 /* Might as well make the overall/response packet here */
484 /* Get the physical address for the whole request/packet from the first
485 * fragment */
486 request.setPaddr(fragmentRequests[0]->getPaddr());
487 makePacket();
488}

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

1026 if (do_access) {
1027 if (!canSendToMemorySystem()) {
1028 DPRINTF(MinorMem, "Can't send request to memory system yet\n");
1029 return;
1030 }
1031
1032 /* Remember if this is an access which can't be idly
1033 * discarded by an interrupt */
1032 if (!bufferable) {
1034 if (!bufferable && !request->issuedToMemory) {
1033 numAccessesIssuedToMemory++;
1034 request->issuedToMemory = true;
1035 }
1036
1037 if (tryToSend(request))
1038 moveFromRequestsToTransfers(request);
1039 } else {
1040 request->setState(LSQRequest::Complete);

--- 574 unchanged lines hidden ---
1035 numAccessesIssuedToMemory++;
1036 request->issuedToMemory = true;
1037 }
1038
1039 if (tryToSend(request))
1040 moveFromRequestsToTransfers(request);
1041 } else {
1042 request->setState(LSQRequest::Complete);

--- 574 unchanged lines hidden ---