[NTOSKRNL] Add and call the CmpSaveBootControlSet() stub.

This commit is contained in:
Eric Kohl 2018-12-16 12:48:56 +01:00
parent a4e25b8673
commit 167bffd80f
3 changed files with 16 additions and 2 deletions

View file

@ -262,3 +262,11 @@ CmGetSystemControlValues(IN PVOID SystemHiveData,
PsDefaultThreadLocaleId = PsDefaultSystemLocaleId;
PsDefaultUILanguageId = PsInstallUILanguageId;
}
NTSTATUS
NTAPI
CmpSaveBootControlSet(IN USHORT ControlSet)
{
DPRINT1("CmpSaveBootControlSet(%lu)\n", ControlSet);
return STATUS_SUCCESS;
}

View file

@ -1322,8 +1322,8 @@ NtInitializeRegistry(IN USHORT Flag)
Flag -= CM_BOOT_FLAG_ACCEPTED;
if (Flag)
{
/* FIXME: Save the last known good boot */
//Status = CmpSaveBootControlSet(Flag);
/* Save the last known good boot */
Status = CmpSaveBootControlSet(Flag);
/* Notify HAL */
HalEndOfBoot();

View file

@ -1177,6 +1177,12 @@ CmGetSystemControlValues(
IN PCM_SYSTEM_CONTROL_VECTOR ControlVector
);
NTSTATUS
NTAPI
CmpSaveBootControlSet(
IN USHORT ControlSet
);
//
// Hardware Configuration Routines
//