diff options
Diffstat (limited to 'OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S')
-rw-r--r-- | OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S b/OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S deleted file mode 100644 index 5306448515..0000000000 --- a/OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S +++ /dev/null @@ -1,15 +0,0 @@ -# UINT16
-# EFIAPI
-# InternalSyncCompareExchange16 (
-# IN volatile UINT16 *Value,
-# IN UINT16 CompareValue,
-# IN UINT16 ExchangeValue
-# );
-ASM_GLOBAL ASM_PFX(InternalSyncCompareExchange16)
-ASM_PFX(InternalSyncCompareExchange16):
- mov 4(%esp), %ecx
- mov 8(%esp), %eax
- mov 12(%esp), %edx
- lock
- cmpxchgw %dx, (%ecx)
- ret
|