]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Include/Protocol/WinNtThunk.h
Nt32Pkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Nt32Pkg / Include / Protocol / WinNtThunk.h
index 5a5d8290d254ca8068d12d9f5b52b8b7ca82f254..847f67b21dfa5770f9ba698dc395f7a2c9d5f08a 100644 (file)
@@ -1,13 +1,7 @@
 /**@file\r
 \r
-Copyright (c) 2006 - 2010, 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
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 Module Name:\r
 \r
@@ -1104,6 +1098,19 @@ BOOL
 (WINAPI *WinNtFreeLibrary) (\r
   HANDLE  ModHandle\r
   );\r
+typedef  \r
+WINBASEAPI\r
+BOOL\r
+(WINAPI *WinNtQueryPerformanceCounter) (\r
+  LARGE_INTEGER  *PerformanceCount\r
+  );\r
+  \r
+typedef  \r
+WINBASEAPI\r
+BOOL\r
+(WINAPI *WinNtQueryPerformanceFrequency) (\r
+  LARGE_INTEGER  *Frequency\r
+  );\r
 //\r
 //\r
 //\r
@@ -1269,7 +1276,10 @@ typedef struct {
   WinNtGetProcessHeap                 GetProcessHeap;\r
   WinNtHeapAlloc                      HeapAlloc;\r
   WinNtHeapFree                       HeapFree;\r
-\r
+  \r
+  WinNtQueryPerformanceCounter        QueryPerformanceCounter;\r
+  WinNtQueryPerformanceFrequency      QueryPerformanceFrequency;\r
+  \r
 } EFI_WIN_NT_THUNK_PROTOCOL;\r
 \r
 extern EFI_GUID gEfiWinNtThunkProtocolGuid;\r