summaryrefslogtreecommitdiff
path: root/src/cpu/base.cc
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2016-08-15 12:00:36 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2016-08-15 12:00:36 +0100
commit25ce5db3a3e61d7c4d35ff7f841a5beb9b353a08 (patch)
treefa77e066654b105793c52d48495c99d79f90ae85 /src/cpu/base.cc
parent4c494965ab52e75428973a5b9aafa7cc923a05e8 (diff)
downloadgem5-25ce5db3a3e61d7c4d35ff7f841a5beb9b353a08.tar.xz
mem: Print an MSHR without triggering any assertions
Previously printing an mshr would trigger an assertion if the MSHR was not in service or if the targets list was empty. This patch changes the print function to bypasses the accessor functions for postInvalidate and postDowngrade and avoid the relevant assertions. It also checks if the targets list is empty before calling print on it. Change-Id: Ic18bee6cb088f63976112eba40e89501237cfe62 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/cpu/base.cc')
0 files changed, 0 insertions, 0 deletions