summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
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.*/