table_walker.cc (8922:17f037ad8918) | table_walker.cc (8949:3fa1ee293096) |
---|---|
1/* 2 * Copyright (c) 2010 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 --- 221 unchanged lines hidden (view full) --- 230 } else if (!currState->functional) { 231 port.dmaAction(MemCmd::ReadReq, l1desc_addr, sizeof(uint32_t), 232 NULL, (uint8_t*)&currState->l1Desc.data, 233 currState->tc->getCpuPtr()->ticks(1), flag); 234 doL1Descriptor(); 235 f = currState->fault; 236 } else { 237 RequestPtr req = new Request(l1desc_addr, sizeof(uint32_t), flag, masterId); | 1/* 2 * Copyright (c) 2010 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 --- 221 unchanged lines hidden (view full) --- 230 } else if (!currState->functional) { 231 port.dmaAction(MemCmd::ReadReq, l1desc_addr, sizeof(uint32_t), 232 NULL, (uint8_t*)&currState->l1Desc.data, 233 currState->tc->getCpuPtr()->ticks(1), flag); 234 doL1Descriptor(); 235 f = currState->fault; 236 } else { 237 RequestPtr req = new Request(l1desc_addr, sizeof(uint32_t), flag, masterId); |
238 PacketPtr pkt = new Packet(req, MemCmd::ReadReq, Packet::Broadcast); | 238 PacketPtr pkt = new Packet(req, MemCmd::ReadReq); |
239 pkt->dataStatic((uint8_t*)&currState->l1Desc.data); 240 port.sendFunctional(pkt); 241 doL1Descriptor(); 242 delete req; 243 delete pkt; 244 f = currState->fault; 245 } 246 --- 326 unchanged lines hidden (view full) --- 573 &doL2DescEvent, (uint8_t*)&currState->l2Desc.data, 574 currState->tc->getCpuPtr()->ticks(1)); 575 } else if (!currState->functional) { 576 port.dmaAction(MemCmd::ReadReq, l2desc_addr, sizeof(uint32_t), 577 NULL, (uint8_t*)&currState->l2Desc.data, 578 currState->tc->getCpuPtr()->ticks(1)); 579 doL2Descriptor(); 580 } else { | 239 pkt->dataStatic((uint8_t*)&currState->l1Desc.data); 240 port.sendFunctional(pkt); 241 doL1Descriptor(); 242 delete req; 243 delete pkt; 244 f = currState->fault; 245 } 246 --- 326 unchanged lines hidden (view full) --- 573 &doL2DescEvent, (uint8_t*)&currState->l2Desc.data, 574 currState->tc->getCpuPtr()->ticks(1)); 575 } else if (!currState->functional) { 576 port.dmaAction(MemCmd::ReadReq, l2desc_addr, sizeof(uint32_t), 577 NULL, (uint8_t*)&currState->l2Desc.data, 578 currState->tc->getCpuPtr()->ticks(1)); 579 doL2Descriptor(); 580 } else { |
581 RequestPtr req = new Request(l2desc_addr, sizeof(uint32_t), 0, masterId); 582 PacketPtr pkt = new Packet(req, MemCmd::ReadReq, Packet::Broadcast); | 581 RequestPtr req = new Request(l2desc_addr, sizeof(uint32_t), 0, 582 masterId); 583 PacketPtr pkt = new Packet(req, MemCmd::ReadReq); |
583 pkt->dataStatic((uint8_t*)&currState->l2Desc.data); 584 port.sendFunctional(pkt); 585 doL2Descriptor(); 586 delete req; 587 delete pkt; 588 } 589 return; 590 default: --- 160 unchanged lines hidden --- | 584 pkt->dataStatic((uint8_t*)&currState->l2Desc.data); 585 port.sendFunctional(pkt); 586 doL2Descriptor(); 587 delete req; 588 delete pkt; 589 } 590 return; 591 default: --- 160 unchanged lines hidden --- |