diff options
author | Jiamin Ma <mjmthy@gmail.com> | 2013-10-12 06:31:55 +0000 |
---|---|---|
committer | jyao1 <jyao1@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-10-12 06:31:55 +0000 |
commit | f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87 (patch) | |
tree | f381d6fe0136f2949e4afa2367ec9b31a2e6e367 /Nt32Pkg/StallPei | |
parent | 09acdc0b24ac50f8623609d67ccc52a785b4fe57 (diff) | |
download | edk2-f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87.zip edk2-f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87.tar.gz edk2-f66a43b26e6e0f4c1e5871dd3a88f2970b3abf87.tar.bz2 |
We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.
Signed-off-by: Jiamin Ma <mjmthy@gmail.com>
Reviewed by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed by: Liming Gao <liming.gao@intel.com>
Reviewed by: Jiewen Yao <jiewen.yao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14766 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/StallPei')
-rw-r--r-- | Nt32Pkg/StallPei/Stall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/StallPei/Stall.c b/Nt32Pkg/StallPei/Stall.c index e89338d..c00ada8 100644 --- a/Nt32Pkg/StallPei/Stall.c +++ b/Nt32Pkg/StallPei/Stall.c @@ -1,7 +1,7 @@ /**@file
EFI_PEI_STALL implementation for NT32 simulation environment.
-Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
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
@@ -100,7 +100,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;
}
|