summaryrefslogtreecommitdiff
path: root/OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm')
-rw-r--r--OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm16
1 files changed, 0 insertions, 16 deletions
diff --git a/OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm b/OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm
deleted file mode 100644
index d77f74ef24..0000000000
--- a/OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.nasm
+++ /dev/null
@@ -1,16 +0,0 @@
-SECTION .text
-
-; INT32
-; EFIAPI
-; TestAndClearBit (
-; IN INT32 Bit,
-; IN volatile VOID* Address
-; );
-global ASM_PFX(TestAndClearBit)
-ASM_PFX(TestAndClearBit):
- mov ecx, [esp + 4]
- mov edx, [esp + 8]
- lock btr [edx], ecx
- sbb eax, eax
- ret
-