RubyPort.cc (8948:e95ee70f876c) RubyPort.cc (8949:3fa1ee293096)
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

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

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

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

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