summaryrefslogtreecommitdiff
path: root/src/cpu/simple/atomic.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-08-28 14:30:27 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-08-28 14:30:27 -0400
commitd14e5857c7e1ee053fb4eb448c4776d7c985c5b2 (patch)
treee57462955190d314ee97fbe7c3a3a53178aa5148 /src/cpu/simple/atomic.cc
parentfb5dd28420d6cebdf4f12a095c3aa32cd5611ed9 (diff)
downloadgem5-d14e5857c7e1ee053fb4eb448c4776d7c985c5b2.tar.xz
Port: Stricter port bind/unbind semantics
This patch tightens up the semantics around port binding and checks that the ports that are being bound are currently not connected, and similarly connected before unbind is called. The patch consequently also changes the order of the unbind and bind for the switching of CPUs to ensure that the rules are adhered to. Previously the ports would be "over-written" without any check. There are no changes in behaviour due to this patch, and the only place where the unbind functionality is used is in the CPU.
Diffstat (limited to 'src/cpu/simple/atomic.cc')
0 files changed, 0 insertions, 0 deletions