X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FDivU64x32.c;h=c46abba638921a76fc99011a0665f5dcd47a7256;hb=2f88bd3a1296c522317f1c21377876de63de5be7;hp=717146e4beadb2be35b2f51f69f934ba1f267159;hpb=373ade0eb64a522e45b1b94c15b95fb5ab417c00;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/DivU64x32.c b/MdePkg/Library/BaseLib/Ia32/DivU64x32.c index 717146e4be..c46abba638 100644 --- a/MdePkg/Library/BaseLib/Ia32/DivU64x32.c +++ b/MdePkg/Library/BaseLib/Ia32/DivU64x32.c @@ -1,20 +1,11 @@ /** @file Calculate the quotient of a 64-bit integer by a 32-bit integer - Copyright (c) 2006 - 2008, Intel Corporation
- All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent **/ - - - /** Divides a 64-bit unsigned integer by a 32-bit unsigned integer and generates a 64-bit unsigned result. @@ -23,7 +14,7 @@ unsigned value Divisor and generates a 64-bit unsigned quotient. This function returns the 64-bit unsigned quotient. - @param Dividend A 64-bit unsigned value. + @param Dividend A 64-bit unsigned value. @param Divisor A 32-bit unsigned value. @return Dividend / Divisor @@ -32,8 +23,8 @@ UINT64 EFIAPI InternalMathDivU64x32 ( - IN UINT64 Dividend, - IN UINT32 Divisor + IN UINT64 Dividend, + IN UINT32 Divisor ) { _asm { @@ -47,4 +38,3 @@ InternalMathDivU64x32 ( pop edx ; restore high-order dword of the quotient } } -