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 |
47#include "base/misc.hh" 48#include "base/trace.hh" 49#include "debug/SnoopFilter.hh" |
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 --- |