mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-30 09:04:07 +02:00
OvmfPkg/XenBusDxe: Fix a nasm warning about instruction not lockable.
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 <anthony.perard@citrix.com> Build-tested-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16394 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
860088f298
commit
4613300895
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user