Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
02a50716
Commit
02a50716
authored
Feb 27, 2018
by
Michael Müller
Committed by
Alexandre Julliard
Feb 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hal: Implement KeQueryPerformanceCounter.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
58bb7b39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
hal.c
dlls/hal/hal.c
+10
-0
hal.spec
dlls/hal/hal.spec
+1
-1
No files found.
dlls/hal/hal.c
View file @
02a50716
...
...
@@ -177,3 +177,13 @@ void WINAPI WRITE_PORT_ULONG(ULONG *port, ULONG value)
{
FIXME
(
"(%p %d) stub!
\n
"
,
port
,
value
);
}
ULONGLONG
WINAPI
KeQueryPerformanceCounter
(
LARGE_INTEGER
*
frequency
)
{
LARGE_INTEGER
counter
;
TRACE
(
"(%p)
\n
"
,
frequency
);
NtQueryPerformanceCounter
(
&
counter
,
frequency
);
return
counter
.
QuadPart
;
}
dlls/hal/hal.spec
View file @
02a50716
...
...
@@ -72,7 +72,7 @@
@ stub KeFlushWriteBuffer
@ stdcall KeGetCurrentIrql()
@ stub KeLowerIrql
@ st
ub KeQueryPerformanceCounter
@ st
dcall -ret64 KeQueryPerformanceCounter(ptr)
@ stub KeRaiseIrql
@ stub KeRaiseIrqlToDpcLevel
@ stub KeRaiseIrqlToSynchLevel
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment