]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/Include/Protocol/WinNtThunk.h
Add support for the GetTimerValue() to the CPU AP for NT32. This also requires some...
[mirror_edk2.git] / Nt32Pkg / Include / Protocol / WinNtThunk.h
index 5a5d8290d254ca8068d12d9f5b52b8b7ca82f254..fd7defd2fdb4fefd53dc451b23e3ac96e0a1c4f3 100644 (file)
@@ -1,6 +1,6 @@
 /**@file\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\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
@@ -1104,6 +1104,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 +1282,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