summaryrefslogtreecommitdiff
path: root/OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S')
-rw-r--r--OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S b/OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S
deleted file mode 100644
index 23e08f3f6e..0000000000
--- a/OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S
+++ /dev/null
@@ -1,13 +0,0 @@
-# UINT16
-# EFIAPI
-# InternalSyncCompareExchange16 (
-# IN volatile UINT16 *Value,
-# IN UINT16 CompareValue,
-# IN UINT16 ExchangeValue
-# );
-ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange16)
-ASM_PFX(InternalSyncCompareExchange16):
- mov %edx, %eax
- lock
- cmpxchgw %r8w, (%rcx)
- ret