REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the CryptoPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
26 lines
522 B
C
26 lines
522 B
C
/** @file
|
|
64-bit Math Worker Function.
|
|
The 32-bit versions of C compiler generate calls to library routines
|
|
to handle 64-bit math. These functions use non-standard calling conventions.
|
|
|
|
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
/*
|
|
* Floating point to integer conversion.
|
|
*/
|
|
__declspec(naked) void
|
|
_ftol2 (
|
|
void
|
|
)
|
|
{
|
|
_asm {
|
|
fistp qword ptr [esp-8]
|
|
mov edx, [esp-4]
|
|
mov eax, [esp-8]
|
|
ret
|
|
}
|
|
}
|