mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
- Fix build.
- Initialize some SharedUserData settings in MmInitSystem. svn path=/trunk/; revision=25752
This commit is contained in:
parent
1b3e649577
commit
867471f6cc
2 changed files with 10 additions and 0 deletions
|
@ -45,6 +45,8 @@ FinalizeBootLogo(
|
||||||
VOID
|
VOID
|
||||||
);
|
);
|
||||||
|
|
||||||
|
extern BOOLEAN InbvBootDriverInstalled;
|
||||||
|
|
||||||
#endif /* NTOSKRNL_INBV_H */
|
#endif /* NTOSKRNL_INBV_H */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -468,6 +468,14 @@ MmInitSystem(IN ULONG Phase,
|
||||||
SectionsReady = TRUE;
|
SectionsReady = TRUE;
|
||||||
MmInitPagingFile();
|
MmInitPagingFile();
|
||||||
PagingReady = TRUE;
|
PagingReady = TRUE;
|
||||||
|
|
||||||
|
/* Setup shared user data settings that NT does as well */
|
||||||
|
ASSERT(SharedUserData->NumberOfPhysicalPages == 0);
|
||||||
|
SharedUserData->NumberOfPhysicalPages = MmStats.NrTotalPages;
|
||||||
|
SharedUserData->LargePageMinimum = 0;
|
||||||
|
|
||||||
|
/* For now, we assume that we're always Workstation */
|
||||||
|
SharedUserData->NtProductType = NtProductWinNt;
|
||||||
}
|
}
|
||||||
else if (Phase == 2)
|
else if (Phase == 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue