projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mem-cache: Remove mumBlock redundant initialiation from FALRU
[gem5.git]
/
src
/
mem
/
cache
/
tags
/
random_repl.cc
diff --git
a/src/mem/cache/tags/random_repl.cc
b/src/mem/cache/tags/random_repl.cc
index 9f1ef800ae6ae4066d1be2070526ca9721128ab5..ab51f640770c0a9560f107e1fb2e24eab203e9c4 100644
(file)
--- a/
src/mem/cache/tags/random_repl.cc
+++ b/
src/mem/cache/tags/random_repl.cc
@@
-1,5
+1,6
@@
/*
* Copyright (c) 2014 The Regents of The University of Michigan
/*
* Copyright (c) 2014 The Regents of The University of Michigan
+ * Copyright (c) 2016 ARM Limited
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@
-33,9
+34,10
@@
* Definitions of a random replacement tag store.
*/
* Definitions of a random replacement tag store.
*/
+#include "mem/cache/tags/random_repl.hh"
+
#include "base/random.hh"
#include "debug/CacheRepl.hh"
#include "base/random.hh"
#include "debug/CacheRepl.hh"
-#include "mem/cache/tags/random_repl.hh"
#include "mem/cache/base.hh"
RandomRepl::RandomRepl(const Params *p)
#include "mem/cache/base.hh"
RandomRepl::RandomRepl(const Params *p)
@@
-45,9
+47,9
@@
RandomRepl::RandomRepl(const Params *p)
}
CacheBlk*
}
CacheBlk*
-RandomRepl::accessBlock(Addr addr, bool is_secure, Cycles &lat
, int master_id
)
+RandomRepl::accessBlock(Addr addr, bool is_secure, Cycles &lat)
{
{
- return BaseSetAssoc::accessBlock(addr, is_secure, lat
, master_id
);
+ return BaseSetAssoc::accessBlock(addr, is_secure, lat);
}
CacheBlk*
}
CacheBlk*