diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-11-23 01:44:49 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-11-23 01:44:49 -0500 |
commit | 6e9cf9411f2ec9bcf9a093ab30f6ce0925f97fa2 (patch) | |
tree | c6f649b3d18bcda04485f48c2b77659db0850a76 /src/mem/request.hh | |
parent | 719416b60ff2ab60403d22b6c7f75139b9535d8c (diff) | |
parent | 271b9a5435ac26c836774b25ad1fa68e2351d25a (diff) | |
download | gem5-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.hh | 15 |
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.*/ |