mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[NTOS:EX] Restore sysinfo
This commit is contained in:
parent
14077e3f4e
commit
0699dcb50c
1 changed files with 5 additions and 5 deletions
|
@ -278,7 +278,7 @@ ExpGetRawSMBiosTable(
|
|||
DPRINT1("IoWMIOpenBlock failed: 0x%08lx\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
||||
AllData = ExAllocatePoolWithTag(PagedPool, WMIBufSize, 'itfS');
|
||||
if (AllData == NULL)
|
||||
{
|
||||
|
@ -766,7 +766,7 @@ QSI_DEF(SystemPerformanceInformation)
|
|||
Spi->TotalSystemDriverPages = 0; /* FIXME */
|
||||
Spi->Spare3Count = 0; /* FIXME */
|
||||
|
||||
Spi->ResidentSystemCachePage = 0; /* FIXME */
|
||||
Spi->ResidentSystemCachePage = MiMemoryConsumers[MC_USER].PagesUsed; /* FIXME */
|
||||
Spi->ResidentPagedPoolPage = 0; /* FIXME */
|
||||
|
||||
Spi->ResidentSystemDriverPage = 0; /* FIXME */
|
||||
|
@ -1476,10 +1476,10 @@ QSI_DEF(SystemFileCacheInformation)
|
|||
RtlZeroMemory(Sci, sizeof(SYSTEM_FILECACHE_INFORMATION));
|
||||
|
||||
/* Return the Byte size not the page size. */
|
||||
Sci->CurrentSize = 0; /* FIXME */
|
||||
Sci->PeakSize = 0; /* FIXME */
|
||||
Sci->CurrentSize = MiMemoryConsumers[MC_USER].PagesUsed; /* FIXME */
|
||||
Sci->PeakSize = MiMemoryConsumers[MC_USER].PagesUsed; /* FIXME */
|
||||
/* Taskmgr multiplies this one by page size right away */
|
||||
Sci->CurrentSizeIncludingTransitionInPages = 0; /* FIXME: Should be */
|
||||
Sci->CurrentSizeIncludingTransitionInPages = MiMemoryConsumers[MC_USER].PagesUsed; /* FIXME: Should be */
|
||||
/* system working set and standby pages. */
|
||||
Sci->PageFaultCount = 0; /* FIXME */
|
||||
Sci->MinimumWorkingSet = 0; /* FIXME */
|
||||
|
|
Loading…
Reference in a new issue