Mark user mode threads as not yet supported

This commit is contained in:
2023-11-15 20:41:28 +01:00
förälder 35aa26e0e9
incheckning 5b6f3b0244
2 ändrade filer med 6 tillägg och 0 borttagningar

Visa fil

@@ -50,6 +50,9 @@ KepInitializeThreadContext(IN PKTHREAD Thread,
/* Check if context provided for this thread */ /* Check if context provided for this thread */
if(ContextRecord) if(ContextRecord)
{ {
/* User mode thread needs further initialization, this is not completed */
UNIMPLEMENTED;
/* Fill exception and trap frames with zeroes */ /* Fill exception and trap frames with zeroes */
RtlZeroMemory(&ThreadFrame->ExceptionFrame, sizeof(KEXCEPTION_FRAME)); RtlZeroMemory(&ThreadFrame->ExceptionFrame, sizeof(KEXCEPTION_FRAME));
RtlZeroMemory(&ThreadFrame->TrapFrame, sizeof(KTRAP_FRAME)); RtlZeroMemory(&ThreadFrame->TrapFrame, sizeof(KTRAP_FRAME));

Visa fil

@@ -51,6 +51,9 @@ KepInitializeThreadContext(IN PKTHREAD Thread,
/* Check if context provided for this thread */ /* Check if context provided for this thread */
if(ContextRecord) if(ContextRecord)
{ {
/* User mode thread needs further initialization, this is not completed */
UNIMPLEMENTED;
/* Fill trap frame with zeroes */ /* Fill trap frame with zeroes */
RtlZeroMemory(&ThreadFrame->TrapFrame, sizeof(KTRAP_FRAME)); RtlZeroMemory(&ThreadFrame->TrapFrame, sizeof(KTRAP_FRAME));