pagetable_walker.cc (10654:e49bf4884c59) | pagetable_walker.cc (10660:87f7b5a07584) |
---|---|
1/* 2 * Copyright (c) 2012 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 --- 509 unchanged lines hidden (view full) --- 518 read = new Packet(request, MemCmd::ReadReq); 519 read->allocate(); 520 // If we need to write, adjust the read packet to write the modified 521 // value back to memory. 522 if (doWrite) { 523 write = oldRead; 524 write->set<uint64_t>(pte); 525 write->cmd = MemCmd::WriteReq; | 1/* 2 * Copyright (c) 2012 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 --- 509 unchanged lines hidden (view full) --- 518 read = new Packet(request, MemCmd::ReadReq); 519 read->allocate(); 520 // If we need to write, adjust the read packet to write the modified 521 // value back to memory. 522 if (doWrite) { 523 write = oldRead; 524 write->set<uint64_t>(pte); 525 write->cmd = MemCmd::WriteReq; |
526 write->clearDest(); | |
527 } else { 528 write = NULL; 529 delete oldRead->req; 530 delete oldRead; 531 } 532 } 533 return fault; 534} --- 189 unchanged lines hidden --- | 526 } else { 527 write = NULL; 528 delete oldRead->req; 529 delete oldRead; 530 } 531 } 532 return fault; 533} --- 189 unchanged lines hidden --- |