RubyPort.cc (8978:4388495beb44) RubyPort.cc (9088:73eeda352933)
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

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

690
691void
692RubyPort::ruby_eviction_callback(const Address& address)
693{
694 DPRINTF(RubyPort, "Sending invalidations.\n");
695 // should this really be using funcMasterId?
696 Request req(address.getAddress(), 0, 0, Request::funcMasterId);
697 for (CpuPortIter p = slave_ports.begin(); p != slave_ports.end(); ++p) {
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

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

690
691void
692RubyPort::ruby_eviction_callback(const Address& address)
693{
694 DPRINTF(RubyPort, "Sending invalidations.\n");
695 // should this really be using funcMasterId?
696 Request req(address.getAddress(), 0, 0, Request::funcMasterId);
697 for (CpuPortIter p = slave_ports.begin(); p != slave_ports.end(); ++p) {
698 if ((*p)->getMasterPort().isSnooping()) {
698 // check if the connected master port is snooping
699 if ((*p)->isSnooping()) {
699 Packet *pkt = new Packet(&req, MemCmd::InvalidationReq);
700 // send as a snoop request
701 (*p)->sendTimingSnoopReq(pkt);
702 }
703 }
704}
700 Packet *pkt = new Packet(&req, MemCmd::InvalidationReq);
701 // send as a snoop request
702 (*p)->sendTimingSnoopReq(pkt);
703 }
704 }
705}