mirror of
https://github.com/reactos/reactos.git
synced 2025-06-04 08:50:27 +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
|
||||
);
|
||||
|
||||
extern BOOLEAN InbvBootDriverInstalled;
|
||||
|
||||
#endif /* NTOSKRNL_INBV_H */
|
||||
|
||||
|
||||
|
|
|
@ -468,6 +468,14 @@ MmInitSystem(IN ULONG Phase,
|
|||
SectionsReady = TRUE;
|
||||
MmInitPagingFile();
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue