blob: 0372e83bdda576ac7d08a21ca0d90fc188b2e776 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# INT32
# EFIAPI
# TestAndClearBit (
# IN INT32 Bit, // rcx
# IN volatile VOID* Address // rdx
# );
ASM_GLOBAL ASM_PFX(TestAndClearBit)
ASM_PFX(TestAndClearBit):
lock
btrl %ecx, (%rdx)
sbbl %eax, %eax
ret
|