]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Sec/WinNtThunk.c
MdePkg: Add TPM TIS definition.
[mirror_edk2.git] / Nt32Pkg / Sec / WinNtThunk.c
index 2832e13fdde236f2685cc9f1d5e17c4eaf79ba72..9ab380c205c1c935571b1a9ec4e831c638605313 100644 (file)
@@ -1,7 +1,7 @@
-/*++\r
+/**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -32,7 +32,7 @@ Abstract:
   gWinNt is a a public exported global that contains the initialized\r
   data.\r
 \r
---*/\r
+**/\r
 \r
 #include "SecMain.h"\r
 \r
@@ -47,6 +47,10 @@ Abstract:
 #pragma warning(disable : 4232)\r
 #pragma warning(disable : 4996)\r
 \r
+#if __INTEL_COMPILER\r
+#pragma warning ( disable : 144 )  \r
+#endif\r
+\r
 EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {\r
   EFI_WIN_NT_THUNK_PROTOCOL_SIGNATURE,\r
   GetProcAddress,\r
@@ -120,6 +124,7 @@ EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
   MoveFile,\r
   SetFileTime,\r
   SystemTimeToFileTime,\r
+  LocalFileTimeToFileTime,\r
   FileTimeToLocalFileTime,\r
   FileTimeToSystemTime,\r
   GetSystemTime,\r
@@ -171,7 +176,9 @@ EFI_WIN_NT_THUNK_PROTOCOL mWinNtThunkTable = {
   DispatchMessage,\r
   GetProcessHeap,\r
   HeapAlloc,\r
-  HeapFree\r
+  HeapFree,\r
+  QueryPerformanceCounter,\r
+  QueryPerformanceFrequency\r
 };\r
 \r
 #pragma warning(default : 4996)\r