diff options
author | Daniel Johnson <daniel.johnson@arm.com> | 2011-09-13 12:06:13 -0500 |
---|---|---|
committer | Daniel Johnson <daniel.johnson@arm.com> | 2011-09-13 12:06:13 -0500 |
commit | 52d30813cac76b9dd69ed9c33bb4966f89c5e7a0 (patch) | |
tree | be10f20c4b27e91a6210b19fa4224f23030f5c5f | |
parent | 7c479d734922d0b9dd5c9b4404ef6d62b3d91075 (diff) | |
download | gem5-52d30813cac76b9dd69ed9c33bb4966f89c5e7a0.tar.xz |
Mem: Allow ASID to be set after request is created.
-rw-r--r-- | src/mem/request.hh | 7 |
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() |