summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2006-11-23 01:44:49 -0500
committerAli Saidi <saidi@eecs.umich.edu>2006-11-23 01:44:49 -0500
commit6e9cf9411f2ec9bcf9a093ab30f6ce0925f97fa2 (patch)
treec6f649b3d18bcda04485f48c2b77659db0850a76 /src/mem/request.hh
parent719416b60ff2ab60403d22b6c7f75139b9535d8c (diff)
parent271b9a5435ac26c836774b25ad1fa68e2351d25a (diff)
downloadgem5-6e9cf9411f2ec9bcf9a093ab30f6ce0925f97fa2.tar.xz
Merge zizzer:/bk/sparcfs
into zeep.pool:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : f540987901994fe9dc023587fd555efb2dbf24bf
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index e54984fcd..5817b24e0 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -95,6 +95,11 @@ class Request
/** The address space ID. */
int asid;
+ /** The ASI is any -- SPARC ONLY */
+ int asi;
+ /** This request is to a memory mapped register. */
+ bool mmapedReg;
+
/** The virtual address of the request. */
Addr vaddr;
@@ -215,6 +220,16 @@ class Request
/** Accessor function for asid.*/
int getAsid() { assert(validAsidVaddr); return asid; }
+ /** Accessor function for asi.*/
+ int getAsi() { assert(validAsidVaddr); return asi; }
+ /** Accessor function for asi.*/
+ void setAsi(int a) { assert(validAsidVaddr); asi = a; }
+
+ /** Accessor function for asi.*/
+ bool getMmapedReg() { assert(validPaddr); return mmapedReg; }
+ /** Accessor function for asi.*/
+ void setMmapedReg(bool r) { assert(validPaddr); mmapedReg = r; }
+
/** Accessor function to check if sc result is valid. */
bool scResultValid() { return validScResult; }
/** Accessor function for store conditional return value.*/