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
e2a5bf75
Commit
e2a5bf75
authored
Sep 11, 2022
by
Etaash Mathamsetty
Committed by
Alexandre Julliard
Sep 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl: Implement KeGetCurrentProcessorNumberEx.
parent
7de69f49
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+19
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
e2a5bf75
...
...
@@ -3388,6 +3388,25 @@ VOID WINAPI KeSetTargetProcessorDpc(PRKDPC dpc, CCHAR number)
}
/***********************************************************************
* KeGetCurrentProcessorNumberEx (NTOSKRNL.EXE.@)
*/
ULONG
WINAPI
KeGetCurrentProcessorNumberEx
(
PPROCESSOR_NUMBER
process_number
)
{
ULONG
cur_number
=
NtGetCurrentProcessorNumber
();
FIXME
(
"%p semi-stub
\n
"
,
process_number
);
if
(
process_number
)
{
process_number
->
Group
=
0
;
process_number
->
Reserved
=
0
;
process_number
->
Number
=
cur_number
;
}
return
cur_number
;
}
/***********************************************************************
* READ_REGISTER_BUFFER_UCHAR (NTOSKRNL.EXE.@)
*/
VOID
WINAPI
READ_REGISTER_BUFFER_UCHAR
(
PUCHAR
Register
,
PUCHAR
Buffer
,
ULONG
Count
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
e2a5bf75
...
...
@@ -555,6 +555,7 @@
@ stub KeFlushEntireTb
@ stdcall KeFlushQueuedDpcs()
@ stdcall KeGetCurrentProcessorNumber() NtGetCurrentProcessorNumber
@ stdcall KeGetCurrentProcessorNumberEx(ptr)
@ stdcall KeGetCurrentThread()
@ stub KeGetPreviousMode
@ stub KeGetRecommendedSharedDataAlignment
...
...
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