From 5e7738467bbc928ff163afc5b94c81385cc6778e Mon Sep 17 00:00:00 2001 From: Andreas Sandberg Date: Tue, 15 Oct 2013 13:24:35 +0200 Subject: 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. --- src/mem/request.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mem') 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; -- cgit v1.2.3