summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Johnson <daniel.johnson@arm.com>2011-09-13 12:06:13 -0500
committerDaniel Johnson <daniel.johnson@arm.com>2011-09-13 12:06:13 -0500
commit52d30813cac76b9dd69ed9c33bb4966f89c5e7a0 (patch)
treebe10f20c4b27e91a6210b19fa4224f23030f5c5f
parent7c479d734922d0b9dd5c9b4404ef6d62b3d91075 (diff)
downloadgem5-52d30813cac76b9dd69ed9c33bb4966f89c5e7a0.tar.xz
Mem: Allow ASID to be set after request is created.
-rw-r--r--src/mem/request.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index 4aa3a821a..dce68087d 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -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()