mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
- 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:
@@ -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
|
||||
|
||||
|
||||
@@ -1467,7 +1467,8 @@ KeTestAlertThread(IN KPROCESSOR_MODE AlertMode)
|
||||
}
|
||||
|
||||
VOID
|
||||
KiServiceCheck (VOID)
|
||||
NTAPI
|
||||
KiServiceCheck(VOID)
|
||||
{
|
||||
PKTHREAD Thread = KeGetCurrentThread();
|
||||
|
||||
|
||||
@@ -405,21 +405,6 @@ MmDbgTranslatePhysicalAddress (
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
MmGrowKernelStack (
|
||||
DWORD Unknown0
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return (STATUS_NOT_IMPLEMENTED);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user