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