base: Move AtomicOpFunctors to a dedicated header
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 5 Dec 2019 11:05:49 +0000 (11:05 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 8 Jan 2020 09:32:08 +0000 (09:32 +0000)
commitb653e5ea1053502b99fbd886b75b916adcc14c7a
tree49c430a65f807ff3aac1b9bcccdf4fe410ffc3dc
parente92efbc4c89da0b9ba20168aee637dbc30229a8b
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>
src/base/amo.hh [new file with mode: 0644]
src/base/types.hh
src/mem/request.hh