summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-10-15 13:24:35 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-10-15 13:24:35 +0200
commit5e7738467bbc928ff163afc5b94c81385cc6778e (patch)
treeae407db632d031b2d1144347d80cb16073219081 /src/mem/request.hh
parentc753b273dc1d18114035c4bd5c61bd59fa9f9cfe (diff)
downloadgem5-5e7738467bbc928ff163afc5b94c81385cc6778e.tar.xz
mem: Use a flag instead of address bit 63 for generic IPRs
Using address bit 63 to identify generic IPRs caused problems on SPARC, where IPRs are heavily used. This changeset redefines how generic IPRs are identified. Instead of using bit 63, we now use a separate flag (GENERIC_IPR) a memory request.
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index ac6e3550b..c3a3f47dc 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -127,6 +127,10 @@ class Request
/** The request should be marked as LRU. */
static const FlagsType EVICT_NEXT = 0x04000000;
+ /** The request should be handled by the generic IPR code (only
+ * valid together with MMAPPED_IPR) */
+ static const FlagsType GENERIC_IPR = 0x08000000;
+
/** These flags are *not* cleared when a Request object is reused
(assigned a new address). */
static const FlagsType STICKY_FLAGS = INST_FETCH;