target-alpha: Fix load-locked/store-conditional.
authorRichard Henderson <rth@twiddle.net>
Wed, 7 Apr 2010 22:42:26 +0000 (15:42 -0700)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Apr 2010 03:50:41 +0000 (05:50 +0200)
commit6910b8f66a9ad0c2c2052b4be884e11b76049718
tree41ac594d78564a239e81f0b3b4b7a00a49525ec0
parent8aa3fa2038d9d0a7d69acdac505d990acc5eafc8
target-alpha: Fix load-locked/store-conditional.

Use an exception plus start_exclusive to implement the compare-and-swap.
This follows the example set by the MIPS and PPC ports.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
linux-user/main.c
target-alpha/cpu.h
target-alpha/helper.c
target-alpha/op_helper.c
target-alpha/translate.c