On 11/13/14 19:18, Anthony PERARD wrote:
> The fix, having "lock" and the locked instruction on the same line in
> the source.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Anthony PERARD <[email protected]>
> ---
>  OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm 
> b/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
> index 38ac549..a4859a6 100644
> --- a/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
> +++ b/OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm
> @@ -9,8 +9,7 @@ SECTION .text
>  ;   );
>  global ASM_PFX(TestAndClearBit)
>  ASM_PFX(TestAndClearBit):
> -  lock
> -  btr [rdx], ecx
> +  lock btr [rdx], ecx
>    sbb eax, eax
>    ret
>  
> 

Reviewed-by: Laszlo Ersek <[email protected]>

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to