summaryrefslogtreecommitdiff
path: root/src/mem/request.hh
diff options
context:
space:
mode:
authorGiacomo Travaglini <giacomo.travaglini@arm.com>2019-12-05 11:05:49 +0000
committerGiacomo Travaglini <giacomo.travaglini@arm.com>2020-01-08 09:32:08 +0000
commitb653e5ea1053502b99fbd886b75b916adcc14c7a (patch)
tree49c430a65f807ff3aac1b9bcccdf4fe410ffc3dc /src/mem/request.hh
parente92efbc4c89da0b9ba20168aee637dbc30229a8b (diff)
downloadgem5-b653e5ea1053502b99fbd886b75b916adcc14c7a.tar.xz
base: Move AtomicOpFunctors to a dedicated header
src/base/types.hh file definition is: /** * @file * Defines global host-dependent types: * Counter, Tick, and (indirectly) {int,uint}{8,16,32,64}_t. */ I feel AtomicOpFunctor doesn't fall in this cathegory so I am moving those into a dedicated header: base/amo.hh Change-Id: I8f05fb0944c03e4053cfaf2ffe65cac803df1d93 Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23563 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/mem/request.hh')
-rw-r--r--src/mem/request.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/request.hh b/src/mem/request.hh
index b3268e02e..891ce1409 100644
--- a/src/mem/request.hh
+++ b/src/mem/request.hh
@@ -55,6 +55,7 @@
#include <cassert>
#include <climits>
+#include "base/amo.hh"
#include "base/flags.hh"
#include "base/logging.hh"
#include "base/types.hh"