ruby: slicc: remove nextLineHack from Type.py
[gem5.git] / src / mem / abstract_mem.hh
index 57a47e3902c8970d1c6046e63f91ad1adebf1279..6dbc79ea099aba67e6a27eab8c224469eb44739a 100644 (file)
@@ -74,7 +74,7 @@ class LockedAddr {
     Addr addr;
 
     // locking hw context
-    const int contextId;
+    const ContextID contextId;
 
     static Addr mask(Addr paddr) { return (paddr & ~Addr_Mask); }
 
@@ -194,6 +194,11 @@ class AbstractMemory : public MemObject
     AbstractMemory(const Params* p);
     virtual ~AbstractMemory() {}
 
+    /**
+     * Initialise this memory.
+     */
+    void init();
+
     /**
      * See if this is a null memory that should never store data and
      * always return zero.