mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 03:53:31 +08:00
[NTOSKRNL] Stub IoInitializeCrashDump()
Also call it from NtCreatePagingFile() when we have successfully created a paging file on the system boot partition.
This commit is contained in:
parent
e5fcda922b
commit
108991a6fb
@ -797,6 +797,12 @@ IopVerifyDiskSignature(
|
||||
OUT PULONG Signature
|
||||
);
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
IoInitializeCrashDump(
|
||||
IN HANDLE PageFileHandle
|
||||
);
|
||||
|
||||
//
|
||||
// Device/Volume Routines
|
||||
//
|
||||
|
@ -651,4 +651,12 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
NTAPI
|
||||
IoInitializeCrashDump(IN HANDLE PageFileHandle)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* EOF */
|
||||
|
@ -89,6 +89,8 @@ C_ASSERT(FILE_FROM_ENTRY(0xffffffff) < MAX_PAGING_FILES);
|
||||
|
||||
static BOOLEAN MmSwapSpaceMessage = FALSE;
|
||||
|
||||
static BOOLEAN MmSystemPageFileLocated = FALSE;
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
@ -804,6 +806,11 @@ NtCreatePagingFile(IN PUNICODE_STRING FileName,
|
||||
|
||||
MmSwapSpaceMessage = FALSE;
|
||||
|
||||
if (!MmSystemPageFileLocated && BooleanFlagOn(FileObject->DeviceObject->Flags, DO_SYSTEM_BOOT_PARTITION))
|
||||
{
|
||||
MmSystemPageFileLocated = IoInitializeCrashDump(FileHandle);
|
||||
}
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user