mirror of
https://github.com/reactos/reactos.git
synced 2024-11-28 22:13:34 +08:00
[NTOS:EX] Restore sysinfo
This commit is contained in:
parent
14077e3f4e
commit
0699dcb50c
@ -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 New Issue
Block a user