arch: support issuing Atomic Mem Operation (AMO) requests
authorTuan Ta <qtt2@cornell.edu>
Mon, 22 Jan 2018 18:00:35 +0000 (13:00 -0500)
committerTuan Ta <qtt2@cornell.edu>
Thu, 14 Jun 2018 22:41:23 +0000 (22:41 +0000)
commit78fb2c1a5d5e422bf14f134d677a83e3022238f1
treed315ea11d7fdbd95a95b8adac5e2cbe065ee26b2
parent7bab1d0aff897bc23b5677a51ae67b8cc32953dc
arch: support issuing Atomic Mem Operation (AMO) requests

This patch adds two new functions named amoMemAtomic used in Atomic CPU
model and initiateMemAMO used in Timing CPU models to issue AMO requests
to the memory system.

Change-Id: I962bdc0e5f25b72c170d96ebc136f29a2b230d5e
Reviewed-on: https://gem5-review.googlesource.com/8186
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/arch/generic/memhelpers.hh