RubyPort.cc (11346:64e862d3758f) | RubyPort.cc (11596:329e49c419b1) |
---|---|
1/* 2 * Copyright (c) 2012-2013 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 --- 298 unchanged lines hidden (view full) --- 307 DPRINTF(RubyPort, "Functional access for address: %#x\n", pkt->getAddr()); 308 309 RubyPort *rp M5_VAR_USED = static_cast<RubyPort *>(&owner); 310 RubySystem *rs = rp->m_ruby_system; 311 312 // Check for pio requests and directly send them to the dedicated 313 // pio port. 314 if (!isPhysMemAddress(pkt->getAddr())) { | 1/* 2 * Copyright (c) 2012-2013 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 --- 298 unchanged lines hidden (view full) --- 307 DPRINTF(RubyPort, "Functional access for address: %#x\n", pkt->getAddr()); 308 309 RubyPort *rp M5_VAR_USED = static_cast<RubyPort *>(&owner); 310 RubySystem *rs = rp->m_ruby_system; 311 312 // Check for pio requests and directly send them to the dedicated 313 // pio port. 314 if (!isPhysMemAddress(pkt->getAddr())) { |
315 assert(rp->memMasterPort.isConnected()); | |
316 DPRINTF(RubyPort, "Pio Request for address: 0x%#x\n", pkt->getAddr()); | 315 DPRINTF(RubyPort, "Pio Request for address: 0x%#x\n", pkt->getAddr()); |
317 panic("RubyPort::PioMasterPort::recvFunctional() not implemented!\n"); | 316 assert(rp->pioMasterPort.isConnected()); 317 rp->pioMasterPort.sendFunctional(pkt); 318 return; |
318 } 319 320 assert(pkt->getAddr() + pkt->getSize() <= 321 makeLineAddress(pkt->getAddr()) + RubySystem::getBlockSizeBytes()); 322 323 if (access_backing_store) { 324 // The attached physmem contains the official version of data. 325 // The following command performs the real functional access. --- 235 unchanged lines hidden --- | 319 } 320 321 assert(pkt->getAddr() + pkt->getSize() <= 322 makeLineAddress(pkt->getAddr()) + RubySystem::getBlockSizeBytes()); 323 324 if (access_backing_store) { 325 // The attached physmem contains the official version of data. 326 // The following command performs the real functional access. --- 235 unchanged lines hidden --- |