diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-06 14:06:30 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-06 14:06:30 -0400 |
commit | 0f014e4340bb0991716cb0f0feafd48b53e865d7 (patch) | |
tree | 0cd92f279e9ce3c002fb109cf6e8acd99e3c3123 /src/mem | |
parent | 090496bf2d4c0f55f7f5869a374b4ec3826bccbc (diff) | |
download | gem5-0f014e4340bb0991716cb0f0feafd48b53e865d7.tar.xz |
Fix checker to work in newmem in SE mode.
src/cpu/o3/fetch_impl.hh:
Give the checker a pointer to the icachePort.
src/cpu/o3/lsq_unit_impl.hh:
Give the checker a pointer to the dcachePort.
src/mem/request.hh:
Allow checking for the scResult being valid prior to accessing it.
--HG--
extra : convert_revision : ced4180588d242111ecba4a11586823badd6cf15
Diffstat (limited to 'src/mem')
-rw-r--r-- | src/mem/request.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh index e8f4daacb..af1d6d8a8 100644 --- a/src/mem/request.hh +++ b/src/mem/request.hh @@ -208,6 +208,8 @@ class Request /** Accessor function for asid.*/ int getAsid() { assert(validAsidVaddr); return asid; } + /** Accessor function to check if sc result is valid. */ + bool scResultValid() { return validScResult; } /** Accessor function for store conditional return value.*/ uint64_t getScResult() { assert(validScResult); return scResult; } /** Accessor function for store conditional return value.*/ |