]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/BaseCryptLib/SysCall/Ia32/MathReminderU64x64.S
CryptoPkg Updates to support RFC3161 timestamp signature verification.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SysCall / Ia32 / MathReminderU64x64.S
diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/Ia32/MathReminderU64x64.S b/CryptoPkg/Library/BaseCryptLib/SysCall/Ia32/MathReminderU64x64.S
deleted file mode 100644 (file)
index 7c1f971..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution.  The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-#\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#\r
-# Module Name:\r
-#\r
-#   MathReminderU64x64.S\r
-#\r
-# Abstract:\r
-#\r
-#   64-bit Math Worker Function.\r
-#   Divides a 64-bit unsigned value by another 64-bit unsigned value and returns\r
-#   the 64-bit unsigned remainder\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-    .686:\r
-    .code:\r
-\r
-ASM_GLOBAL ASM_PFX(__umoddi3), ASM_PFX(DivU64x64Remainder)\r
-\r
-#------------------------------------------------------------------------------\r
-#\r
-# void __cdecl __umoddi3 (void)\r
-#\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(__umoddi3):\r
-    # Original local stack when calling __umoddi3\r
-    #               -----------------\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |               |\r
-    #               |--  Divisor  --|\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |               |\r
-    #               |--  Dividend --|\r
-    #               |               |\r
-    #               |---------------|\r
-    #               |  ReturnAddr** |\r
-    #       ESP---->|---------------|\r
-    #\r
-\r
-    #\r
-    # Set up the local stack for Reminder pointer\r
-    #\r
-    sub     $8, %esp\r
-    push    %esp\r
-\r
-    #\r
-    # Set up the local stack for Divisor parameter\r
-    #\r
-    movl    28(%esp), %eax\r
-    push    %eax\r
-    movl    28(%esp), %eax\r
-    push    %eax\r
-\r
-    #\r
-    # Set up the local stack for Dividend parameter\r
-    #\r
-    movl    28(%esp), %eax\r
-    push    %eax\r
-    movl    28(%esp), %eax\r
-    push    %eax\r
-\r
-    #\r
-    # Call native DivU64x64Remainder of BaseLib\r
-    #\r
-    jmp     ASM_PFX(DivU64x64Remainder)\r
-\r
-    #\r
-    # Put the Reminder in EDX:EAX as return value\r
-    #\r
-    movl    20(%esp), %eax\r
-    movl    24(%esp), %edx\r
-\r
-    #\r
-    # Adjust stack\r
-    #\r
-    add     $28, %esp\r
-    \r
-    ret     $16\r