Addr addr;
// locking hw context
- const int contextId;
+ const ContextID contextId;
static Addr mask(Addr paddr) { return (paddr & ~Addr_Mask); }
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.