diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-16 00:38:17 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-03-16 00:38:17 +0000 |
commit | 831ff057d7bbb269cbdf9ab77079492a11ca0aa0 (patch) | |
tree | d3d6fda1118731f0c04b9d63a219188d6c93337d /Nt32Pkg/Include | |
parent | 975e88157080fdd48f029e4623f5ee9a995bc472 (diff) | |
download | edk2-831ff057d7bbb269cbdf9ab77079492a11ca0aa0.tar.gz edk2-831ff057d7bbb269cbdf9ab77079492a11ca0aa0.tar.bz2 edk2-831ff057d7bbb269cbdf9ab77079492a11ca0aa0.zip |
Add support for the GetTimerValue() to the CPU AP for NT32. This also requires some performance counter APIs to be added to the WinNtThunk Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11403 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/Include')
-rw-r--r-- | Nt32Pkg/Include/Protocol/WinNtThunk.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/Nt32Pkg/Include/Protocol/WinNtThunk.h b/Nt32Pkg/Include/Protocol/WinNtThunk.h index 5a5d8290d2..fd7defd2fd 100644 --- a/Nt32Pkg/Include/Protocol/WinNtThunk.h +++ b/Nt32Pkg/Include/Protocol/WinNtThunk.h @@ -1,6 +1,6 @@ /**@file
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2011, 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
@@ -1104,6 +1104,19 @@ BOOL (WINAPI *WinNtFreeLibrary) (
HANDLE ModHandle
);
+typedef
+WINBASEAPI
+BOOL
+(WINAPI *WinNtQueryPerformanceCounter) (
+ LARGE_INTEGER *PerformanceCount
+ );
+
+typedef
+WINBASEAPI
+BOOL
+(WINAPI *WinNtQueryPerformanceFrequency) (
+ LARGE_INTEGER *Frequency
+ );
//
//
//
@@ -1269,7 +1282,10 @@ typedef struct { WinNtGetProcessHeap GetProcessHeap;
WinNtHeapAlloc HeapAlloc;
WinNtHeapFree HeapFree;
-
+
+ WinNtQueryPerformanceCounter QueryPerformanceCounter;
+ WinNtQueryPerformanceFrequency QueryPerformanceFrequency;
+
} EFI_WIN_NT_THUNK_PROTOCOL;
extern EFI_GUID gEfiWinNtThunkProtocolGuid;
|