mem-cache: Refactor the recvAtomic function
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Fri, 4 May 2018 14:57:44 +0000 (15:57 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 31 May 2018 15:10:42 +0000 (15:10 +0000)
commit4976ff51d711ac999afffafe0fd701a2d8997999
treefa028e699a451a7023e47e3505c062a591836d11
parent18312bc263d7b3568044d0b361ce376077f432c9
mem-cache: Refactor the recvAtomic function

The recvAtomic function in the cache handles atomic requests. Over
time, recvAtomic has grown in complexity and code size. This change
factors out some of its functionality in a separate functiona. The new
functions handles atomic requests that miss.

Change-Id: If77d2de1e3e802e1da37f889f68910e700c59209
Reviewed-on: https://gem5-review.googlesource.com/10425
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/cache.cc
src/mem/cache/cache.hh