Commit e2a5bf75 authored by Etaash Mathamsetty's avatar Etaash Mathamsetty Committed by Alexandre Julliard

ntoskrnl: Implement KeGetCurrentProcessorNumberEx.

parent 7de69f49
......@@ -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)
......
......@@ -555,6 +555,7 @@
@ stub KeFlushEntireTb
@ stdcall KeFlushQueuedDpcs()
@ stdcall KeGetCurrentProcessorNumber() NtGetCurrentProcessorNumber
@ stdcall KeGetCurrentProcessorNumberEx(ptr)
@ stdcall KeGetCurrentThread()
@ stub KeGetPreviousMode
@ stub KeGetRecommendedSharedDataAlignment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment