projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inorder: ctxt switch stats
[gem5.git]
/
src
/
mem
/
mem_object.hh
diff --git
a/src/mem/mem_object.hh
b/src/mem/mem_object.hh
index 33b56dfd4094c9637b262fe96c1c8bf3a9abfb44..b8bf4b939052b847b3064270cbbe69ce265e9fc4 100644
(file)
--- a/
src/mem/mem_object.hh
+++ b/
src/mem/mem_object.hh
@@
-48,17
+48,10
@@
class MemObject : public SimObject
{
public:
typedef MemObjectParams Params;
{
public:
typedef MemObjectParams Params;
- MemObject(const Params *params);
-
- const Params *
- params() const
- {
- return dynamic_cast<const Params *>(_params);
- }
+ const Params *params() const
+ { return dynamic_cast<const Params *>(_params); }
- protected:
- // static: support for old-style constructors (call manually)
- static Params *makeParams(const std::string &name);
+ MemObject(const Params *params);
public:
/** Additional function to return the Port of a memory object. */
public:
/** Additional function to return the Port of a memory object. */