diff options
author | Steve Reinhardt <stever@gmail.com> | 2008-01-02 12:20:15 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@gmail.com> | 2008-01-02 12:20:15 -0800 |
commit | 3952e41ab1f1dfaa2f97a6a486528e4ea0bfc5a1 (patch) | |
tree | e186dc9429d37ea5e9ca6657ce746e60447dee32 /src/mem/port.hh | |
parent | 659aef3eb8ff2803601851b85347fee04c2721b8 (diff) | |
download | gem5-3952e41ab1f1dfaa2f97a6a486528e4ea0bfc5a1.tar.xz |
Add functional PrintReq command for memory-system debugging.
--HG--
extra : convert_revision : 73b753e57c355b7e6873f047ddc8cb371c3136b7
Diffstat (limited to 'src/mem/port.hh')
-rw-r--r-- | src/mem/port.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mem/port.hh b/src/mem/port.hh index cadf67260..f66b566ea 100644 --- a/src/mem/port.hh +++ b/src/mem/port.hh @@ -243,6 +243,11 @@ class Port */ virtual void memsetBlob(Addr addr, uint8_t val, int size); + /** Inject a PrintReq for the given address to print the state of + * that address throughout the memory system. For debugging. + */ + void printAddr(Addr a); + private: /** Internal helper function for read/writeBlob(). |