mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[NTOSKRNL] Stub MM shutdown
This commit is contained in:
parent
9d26058a8e
commit
d793f196df
4 changed files with 43 additions and 0 deletions
|
@ -1474,6 +1474,10 @@ NTAPI
|
||||||
MmSetSessionLocaleId(
|
MmSetSessionLocaleId(
|
||||||
_In_ LCID LocaleId);
|
_In_ LCID LocaleId);
|
||||||
|
|
||||||
|
/* shutdown.c *****************************************************************/
|
||||||
|
|
||||||
|
VOID
|
||||||
|
MmShutdownSystem(IN ULONG Phase);
|
||||||
|
|
||||||
/* virtual.c *****************************************************************/
|
/* virtual.c *****************************************************************/
|
||||||
|
|
||||||
|
|
37
ntoskrnl/mm/shutdown.c
Normal file
37
ntoskrnl/mm/shutdown.c
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
/*
|
||||||
|
* PROJECT: ReactOS Kernel
|
||||||
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
|
* FILE: ntoskrnl/mm/shutdown.c
|
||||||
|
* PURPOSE: Memory Manager Shutdown
|
||||||
|
* PROGRAMMERS:
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* INCLUDES ******************************************************************/
|
||||||
|
|
||||||
|
#include <ntoskrnl.h>
|
||||||
|
#define NDEBUG
|
||||||
|
#include <debug.h>
|
||||||
|
|
||||||
|
#define MODULE_INVOLVED_IN_ARM3
|
||||||
|
#include "ARM3/miarm.h"
|
||||||
|
|
||||||
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
|
VOID
|
||||||
|
MiShutdownSystem(VOID)
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
VOID
|
||||||
|
MmShutdownSystem(IN ULONG Phase)
|
||||||
|
{
|
||||||
|
if (Phase == 0)
|
||||||
|
{
|
||||||
|
MiShutdownSystem();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UNIMPLEMENTED;
|
||||||
|
}
|
||||||
|
}
|
|
@ -226,6 +226,7 @@ list(APPEND SOURCE
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/region.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/region.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/rmap.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/rmap.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/section.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/section.c
|
||||||
|
${REACTOS_SOURCE_DIR}/ntoskrnl/mm/shutdown.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/devicemap.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/devicemap.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obdir.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obdir.c
|
||||||
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obhandle.c
|
${REACTOS_SOURCE_DIR}/ntoskrnl/ob/obhandle.c
|
||||||
|
|
|
@ -283,6 +283,7 @@ PopGracefulShutdown(IN PVOID Context)
|
||||||
ExShutdownSystem();
|
ExShutdownSystem();
|
||||||
|
|
||||||
/* Note that modified pages should be written here (MiShutdownSystem) */
|
/* Note that modified pages should be written here (MiShutdownSystem) */
|
||||||
|
MmShutdownSystem(0);
|
||||||
|
|
||||||
/* Flush all user files before we start shutting down IO */
|
/* Flush all user files before we start shutting down IO */
|
||||||
/* This is where modified pages are written back by the IO manager */
|
/* This is where modified pages are written back by the IO manager */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue