misc: Rename Enums namespace as enums
As part of recent decisions regarding namespace naming conventions, all namespaces will be changed to snake case. ::Enums became ::enums. Change-Id: I39b5fb48817ad16abbac92f6254284b37fc90c40 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45420 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
06fb0753fe
commit
4dd099ba3d
2
src/mem/cache/cache.cc
vendored
2
src/mem/cache/cache.cc
vendored
@@ -527,7 +527,7 @@ Cache::createMissPacket(PacketPtr cpu_pkt, CacheBlk *blk,
|
||||
// * this cache is mostly exclusive and will not fill (since
|
||||
// it does not fill it will have to writeback the dirty data
|
||||
// immediately which generates uneccesary writebacks).
|
||||
bool force_clean_rsp = isReadOnly || clusivity == Enums::mostly_excl;
|
||||
bool force_clean_rsp = isReadOnly || clusivity == enums::mostly_excl;
|
||||
cmd = needsWritable ? MemCmd::ReadExReq :
|
||||
(force_clean_rsp ? MemCmd::ReadCleanReq : MemCmd::ReadSharedReq);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user