Gitiles
Code Review
Sign In
gerrit.devboardsforandroid.linaro.org
/
device
/
linaro
/
hikey960
/
0e33772df9ca72fb5f6e3d9a9b9ee547997b1b66
/
.
/
uefi
/
linaro-edk2
/
OvmfPkg
/
XenBusDxe
/
X64
/
TestAndClearBit.nasm
blob: a4859a62a2508dac57de7a1b88fbbe9ee5d02e80 [
file
] [
log
] [
blame
]
DEFAULT REL
SECTION
.
text
;
INT32
;
EFIAPI
;
TestAndClearBit
(
;
IN INT32
Bit
,
// rcx
;
IN
volatile
VOID
*
Address
// rdx
;
);
global
ASM_PFX
(
TestAndClearBit
)
ASM_PFX
(
TestAndClearBit
):
lock
btr
[
rdx
],
ecx
sbb eax
,
eax
ret