summaryrefslogtreecommitdiff
path: root/src/mem/cache
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-07-03 10:14:36 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2015-07-03 10:14:36 -0400
commitaa5bbe81f6fd18d824608d48a5adf74ea2c5b51d (patch)
treeffe18672e0e6bee889ef488d4f29d0488bf37506 /src/mem/cache
parent359904194d42daa5db6d46403d57256dee69d121 (diff)
downloadgem5-aa5bbe81f6fd18d824608d48a5adf74ea2c5b51d.tar.xz
mem: Convert Request static const flags to enums
This patch fixes an issue which is very wide spread in the codebase, causing sporadic linking failures. The issue is that we declare static const class variables in the header, without any definition (as part of a source file). In most cases the compiler propagates the value and we have no issues. However, especially for less optimising builds such as debug, we get sporadic linking failures due to undefined references. This patch fixes the Request class, by turning the static const flags and master IDs into C++11 typed enums.
Diffstat (limited to 'src/mem/cache')
0 files changed, 0 insertions, 0 deletions