RubyPort.cc (11793:ef606668d247) RubyPort.cc (12357:86b87f330638)
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

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

232 DPRINTF(RubyPort, "Timing request for address %#x on port %d\n",
233 pkt->getAddr(), id);
234 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
235
236 if (pkt->cacheResponding())
237 panic("RubyPort should never see request with the "
238 "cacheResponding flag set\n");
239
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

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

232 DPRINTF(RubyPort, "Timing request for address %#x on port %d\n",
233 pkt->getAddr(), id);
234 RubyPort *ruby_port = static_cast<RubyPort *>(&owner);
235
236 if (pkt->cacheResponding())
237 panic("RubyPort should never see request with the "
238 "cacheResponding flag set\n");
239
240 // ruby doesn't support cache maintenance operations at the
241 // moment, as a workaround, we respond right away
242 if (pkt->req->isCacheMaintenance()) {
243 warn_once("Cache maintenance operations are not supported in Ruby.\n");
244 pkt->makeResponse();
245 schedTimingResp(pkt, curTick());
246 return true;
247 }
240 // Check for pio requests and directly send them to the dedicated
241 // pio port.
242 if (pkt->cmd != MemCmd::MemFenceReq) {
243 if (!isPhysMemAddress(pkt->getAddr())) {
244 assert(ruby_port->memMasterPort.isConnected());
245 DPRINTF(RubyPort, "Request address %#x assumed to be a "
246 "pio address\n", pkt->getAddr());
247

--- 315 unchanged lines hidden ---
248 // Check for pio requests and directly send them to the dedicated
249 // pio port.
250 if (pkt->cmd != MemCmd::MemFenceReq) {
251 if (!isPhysMemAddress(pkt->getAddr())) {
252 assert(ruby_port->memMasterPort.isConnected());
253 DPRINTF(RubyPort, "Request address %#x assumed to be a "
254 "pio address\n", pkt->getAddr());
255

--- 315 unchanged lines hidden ---