diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-08-07 04:55:38 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-08-07 04:55:38 -0400 |
commit | 83a668ad2564d1231f59f130c81cab6e7e31c364 (patch) | |
tree | bc874742906a6464c40c56578aca47e19b0e842e /src/mem/packet.hh | |
parent | 07815a33384905e0fd1d57c076daad82795e7ec8 (diff) | |
download | gem5-83a668ad2564d1231f59f130c81cab6e7e31c364.tar.xz |
mem: Remove extraneous acquire/release flags and attributes
This patch removes the extraneous flags and attributes from the
request and packet, and simply leaves the new commands. The change
introduced when adding acquire/release breaks all compatibility with
existing traces, and there is really no need for any new flags and
attributes. The commands should be sufficient.
This patch fixes packet tracing (urgent), and also removes the
unnecessary complexity.
Diffstat (limited to 'src/mem/packet.hh')
-rw-r--r-- | src/mem/packet.hh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mem/packet.hh b/src/mem/packet.hh index 1cbe6e499..d6231f48f 100644 --- a/src/mem/packet.hh +++ b/src/mem/packet.hh @@ -151,8 +151,6 @@ class MemCmd IsError, //!< Error response IsPrint, //!< Print state matching address (for debugging) IsFlush, //!< Flush the address from caches - IsAcquire, //!< Acquire operation - IsRelease, //!< Release operation NUM_COMMAND_ATTRIBUTES }; @@ -209,8 +207,6 @@ class MemCmd bool isError() const { return testCmdAttrib(IsError); } bool isPrint() const { return testCmdAttrib(IsPrint); } bool isFlush() const { return testCmdAttrib(IsFlush); } - bool isAcquire() const { return testCmdAttrib(IsAcquire); } - bool isRelease() const { return testCmdAttrib(IsRelease); } const Command responseCommand() const @@ -492,8 +488,6 @@ class Packet : public Printable bool isError() const { return cmd.isError(); } bool isPrint() const { return cmd.isPrint(); } bool isFlush() const { return cmd.isFlush(); } - bool isAcquire() const { return cmd.isAcquire(); } - bool isRelease() const { return cmd.isRelease(); } // Snoop flags void assertMemInhibit() |