Mem: Allow ASID to be set after request is created.
authorDaniel Johnson <daniel.johnson@arm.com>
Tue, 13 Sep 2011 17:06:13 +0000 (12:06 -0500)
committerDaniel Johnson <daniel.johnson@arm.com>
Tue, 13 Sep 2011 17:06:13 +0000 (12:06 -0500)
src/mem/request.hh

index 4aa3a821a95cb78fd90d43907cb33d3b317b398a..dce68087d2478c39ae3e6fd2e1160a8a95c90ff8 100644 (file)
@@ -377,6 +377,13 @@ class Request : public FastAlloc
         return _asid;
     }
 
+    /** Accessor function for asid.*/
+    void
+    setAsid(int asid)
+    {
+        _asid = asid;
+    }
+
     /** Accessor function for asi.*/
     uint8_t
     getAsi()