Deleted Added
sdiff udiff text old ( 12773:387fa9e5c9ff ) new ( 13215:82cdb8db4643 )
full compact
1/*
2 * Copyright (c) 2018 Inria
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

36#ifndef __MEM_CACHE_TAGS_SECTOR_TAGS_HH__
37#define __MEM_CACHE_TAGS_SECTOR_TAGS_HH__
38
39#include <string>
40#include <vector>
41
42#include "mem/cache/sector_blk.hh"
43#include "mem/cache/tags/base.hh"
44#include "mem/packet.hh"
45#include "params/SectorTags.hh"
46
47class BaseReplacementPolicy;
48class ReplaceableEntry;
49
50/**
51 * A SectorTags cache tag store.
52 * @sa \ref gem5MemorySystem "gem5 Memory System"

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

145 * @return The possible locations.
146 */
147 virtual const std::vector<SectorBlk*> getPossibleLocations(Addr addr)
148 const;
149
150 /**
151 * Insert the new block into the cache and update replacement data.
152 *
153 * @param pkt Packet holding the address to update
154 * @param blk The block to update.
155 */
156 void insertBlock(const PacketPtr pkt, CacheBlk *blk) override;
157
158 /**
159 * Finds the given address in the cache, do not update replacement data.
160 * i.e. This is a no-side-effect find of a block.
161 *
162 * @param addr The address to find.
163 * @param is_secure True if the target memory space is secure.
164 * @return Pointer to the cache block if found.

--- 78 unchanged lines hidden ---