29#ifndef __CACHE_TAGGED_ENTRY_HH__
30#define __CACHE_TAGGED_ENTRY_HH__
108 panic(
"Need is_secure arg");
115 panic(
"Need is_secure arg");
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
A CacheEntry is an entry containing a tag.
virtual void invalidate()
Invalidate the block.
virtual Addr getTag() const
Get tag associated to this block.
virtual void setValid()
Set valid bit.
virtual bool matchTag(const Addr tag) const
Checks if the given tag information corresponds to this entry's.
virtual bool isValid() const
Checks if the entry is valid.
virtual void insert(const Addr tag)
Insert the block by assigning it a tag and marking it valid.
virtual void setTag(Addr _tag)
Set tag associated to this block.
virtual std::string print() const
Prints relevant information about this entry.
A tagged entry is an entry containing a tag.
void invalidate() override
Invalidate the block.
std::string print() const override
Prints relevant information about this entry.
void clearSecure()
Clear secure bit.
virtual bool matchTag(Addr tag, bool is_secure) const
Checks if the given tag information corresponds to this entry's.
virtual void insert(const Addr tag, const bool is_secure)
Insert the block by assigning it a tag and marking it valid.
bool isSecure() const
Check if this block holds data from the secure memory space.
bool matchTag(const Addr tag) const override
Checks if the given tag information corresponds to this entry's.
void insert(const Addr tag) override
Insert the block by assigning it a tag and marking it valid.
virtual void setSecure()
Set secure bit.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
std::string csprintf(const char *format, const Args &...args)