]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/SysCall/HelperWrapper.c
1. enable /GL optimization building on OpensslLib.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SysCall / HelperWrapper.c
CommitLineData
97f98500
HT
1/** @file\r
2 Wrapper Implementation of Helper Routines produced by the C Compiler\r
3 for the OpenSSL-based Cryptographic Library.\r
4\r
5Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
6This program and the accompanying materials\r
7are licensed and made available under the terms and conditions of the BSD License\r
8which accompanies this distribution. The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#include <OpenSslSupport.h>\r
17\r
18//---------------------------------------------------------\r
19// Helper Routines Wrapper\r
20//---------------------------------------------------------\r
21\r
22/* Divides a 64-bit signed value with a 64-bit signed value and returns\r
23 a 64-bit signed quotient and reminder */\r
24void _aulldvrm ()\r
25{\r
26 //\r
27 // Null _aulldvrm() Math function implementation to satisfy the linker, since\r
28 // there is no direct functionality logic dependency in present UEFI cases.\r
29 //\r
30 return;\r
31}\r
32\r
33\r
34/* Converts a scalar double-precision floating point value to a 32-bit integer */\r
35long _ftol2_sse (double dblSource)\r
36{\r
37 //\r
38 // OpenSSL uses this function due to using floating-point inside it.\r
39 // It is only present in 32-bit versions of the compiler.\r
40 // Null _ftol2_sse() function implementation to satisfy the linker, since\r
41 // there is no direct functionality logic dependency in present UEFI cases.\r
42 //\r
43 return 0;\r
44}\r
45\r
46/* Converts a scalar double-precision floating point value to a 32-bit integer */\r
47long _ftol2 (double dblSource)\r
48{\r
49 //\r
50 // Null _ftol2() function implementation to satisfy the linker, since\r
51 // there is no direct functionality logic dependency in present UEFI cases.\r
52 //\r
53 return 0;\r
54}\r