- Move MmGrowKernelStack to mm/process.c with the other functions for future use.

- Make KiServiceCheck stdcall for future use.

svn path=/trunk/; revision=20778
This commit is contained in:
Alex Ionescu 2006-01-11 05:24:40 +00:00
parent d5debcbcd9
commit c193938e1b
4 changed files with 20 additions and 17 deletions

View file

@ -614,12 +614,16 @@ KiBBTUnexpectedRange:
/* Set up Win32K Table */
push edx
push ebx
call _KiServiceCheck
call _KiServiceCheck@0
/* FIXME: Handle failure */
pop eax
pop edx
/* Reset trap frame address */
mov ebp, esp
mov [esi+KTHREAD_TRAP_FRAME], ebp
/* Try the Call again */
jmp CheckValidCall

View file

@ -1467,7 +1467,8 @@ KeTestAlertThread(IN KPROCESSOR_MODE AlertMode)
}
VOID
KiServiceCheck (VOID)
NTAPI
KiServiceCheck(VOID)
{
PKTHREAD Thread = KeGetCurrentThread();

View file

@ -405,21 +405,6 @@ MmDbgTranslatePhysicalAddress (
return (0);
}
/*
* @unimplemented
*/
NTSTATUS
STDCALL
MmGrowKernelStack (
DWORD Unknown0
)
{
UNIMPLEMENTED;
return (STATUS_NOT_IMPLEMENTED);
}
/*
* @unimplemented
*/

View file

@ -185,9 +185,22 @@ MmCreateKernelStack(BOOLEAN GuiStack)
KEBUGCHECK(0);
}
/* Return the stack */
return KernelStack;
}
/*
* @implemented
*/
NTSTATUS
STDCALL
MmGrowKernelStack(PVOID StackPointer)
{
DPRINT1("We don't support expansion yet :(\n");
KEBUGCHECK(0);
return STATUS_NOT_IMPLEMENTED;
}
NTSTATUS
STDCALL
MmCreatePeb(PEPROCESS Process)