snoop_filter.cc (11748:55bd32c72867) | snoop_filter.cc (11793:ef606668d247) |
---|---|
1/* 2 * Copyright (c) 2013-2016 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 --- 28 unchanged lines hidden (view full) --- 37 * Authors: Stephan Diestelhorst 38 */ 39 40/** 41 * @file 42 * Implementation of a snoop filter. 43 */ 44 | 1/* 2 * Copyright (c) 2013-2016 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 --- 28 unchanged lines hidden (view full) --- 37 * Authors: Stephan Diestelhorst 38 */ 39 40/** 41 * @file 42 * Implementation of a snoop filter. 43 */ 44 |
45#include "mem/snoop_filter.hh" 46 |
|
45#include "base/misc.hh" 46#include "base/trace.hh" 47#include "debug/SnoopFilter.hh" | 47#include "base/misc.hh" 48#include "base/trace.hh" 49#include "debug/SnoopFilter.hh" |
48#include "mem/snoop_filter.hh" | |
49#include "sim/system.hh" 50 51void 52SnoopFilter::eraseIfNullEntry(SnoopFilterCache::iterator& sf_it) 53{ 54 SnoopItem& sf_item = sf_it->second; 55 if (!(sf_item.requested | sf_item.holder)) { 56 cachedLocations.erase(sf_it); --- 351 unchanged lines hidden --- | 50#include "sim/system.hh" 51 52void 53SnoopFilter::eraseIfNullEntry(SnoopFilterCache::iterator& sf_it) 54{ 55 SnoopItem& sf_item = sf_it->second; 56 if (!(sf_item.requested | sf_item.holder)) { 57 cachedLocations.erase(sf_it); --- 351 unchanged lines hidden --- |