]>
Commit | Line | Data |
---|---|---|
6f6c3a1f AP |
1 | DEFAULT REL\r |
2 | SECTION .text\r | |
6342f1fe AP |
3 | \r |
4 | ; INT32\r | |
5 | ; EFIAPI\r | |
6 | ; TestAndClearBit (\r | |
7 | ; IN INT32 Bit, // rcx\r | |
8 | ; IN volatile VOID* Address // rdx\r | |
9 | ; );\r | |
6f6c3a1f AP |
10 | global ASM_PFX(TestAndClearBit)\r |
11 | ASM_PFX(TestAndClearBit):\r | |
46133008 | 12 | lock btr [rdx], ecx\r |
6342f1fe AP |
13 | sbb eax, eax\r |
14 | ret\r | |
6342f1fe | 15 | \r |