X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Nt32Pkg%2FStallPei%2FStall.c;h=69b99cc5d4359df163d87f81b2f50ea2a6332498;hb=9d2eedba985bea28c8821691355d447d61f4f6ed;hp=34e5d68d4650dcdd730a935cf14e6cc69475732b;hpb=ba82cb67d7d4059970882f0202fc8943e36df3ec;p=mirror_edk2.git diff --git a/Nt32Pkg/StallPei/Stall.c b/Nt32Pkg/StallPei/Stall.c index 34e5d68d46..69b99cc5d4 100644 --- a/Nt32Pkg/StallPei/Stall.c +++ b/Nt32Pkg/StallPei/Stall.c @@ -1,14 +1,8 @@ /**@file EFI_PEI_STALL implementation for NT32 simulation environment. -Copyright (c) 2009, 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) 2009 - 2013, Intel Corporation. All rights reserved.
+SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "WinNtPeim.h" @@ -100,8 +94,7 @@ Stall ( // so micro second units need be divided by 1000 to convert to ms // NtThunk = (EFI_WIN_NT_THUNK_PROTOCOL*) PeiNtService->NtThunk(); - NtThunk->Sleep ((Microseconds + 999) / 1000); + NtThunk->Sleep ((DWORD)((Microseconds + 999) / 1000)); return EFI_SUCCESS; } - \ No newline at end of file