1 2 3 4 5 6 7 8 9 10 11 12 13
# INT32 # EFIAPI # TestAndClearBit ( # IN INT32 Bit, # IN volatile VOID* Address # ); ASM_GLOBAL ASM_PFX(TestAndClearBit) ASM_PFX(TestAndClearBit): mov 4(%esp), %ecx mov 8(%esp), %edx lock btrl %ecx, (%edx) sbbl %eax, %eax ret