diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-15 14:21:09 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-02-15 14:21:09 -0500 |
commit | 7f114ca41930c7e0a71dfb105472671cfa25ddec (patch) | |
tree | d2d696e7633a347bb5ca2824720caed578f62fe2 /mem/mem_object.hh | |
parent | 3298e937d389c2fa0a5e5a8eeb1db2a3fac3e7e3 (diff) | |
download | gem5-7f114ca41930c7e0a71dfb105472671cfa25ddec.tar.xz |
Many changes that make the new mem system compile. Now to convert the rest of the tree to use the new mem system.
mem/mem_object.hh:
Create constrtor so it compiles
mem/packet.hh:
Fix typedefs so they compile, add in a few more headers for compilation
mem/page_table.cc:
convert to new mem system so it compiles
mem/page_table.hh:
fix it to the version that had asid support. Make it compile in the new system
mem/physical.cc:
Fix some compilation bugs
mem/physical.hh:
Add a type that made compile fail
mem/port.hh:
Fix a spelling error that messed up compilation
mem/request.hh:
fix typedefs and forward declerations so it compiles
--HG--
extra : convert_revision : 580fb1ba31ada799ff0122601b8b5a8d994bb8af
Diffstat (limited to 'mem/mem_object.hh')
-rw-r--r-- | mem/mem_object.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mem/mem_object.hh b/mem/mem_object.hh index c6c5076e8..634fb164a 100644 --- a/mem/mem_object.hh +++ b/mem/mem_object.hh @@ -41,9 +41,14 @@ * The base MemoryObject class, allows for an accesor function to a * simobj that returns the Port. */ -class MemoryObject : public SimObject +class MemObject : public SimObject { public: + MemObject(const std::string &name) + : SimObject(name) + {}; + + public: /** Additional function to return the Port of a memory object. */ virtual Port *getPort(const char *if_name) = 0; }; |