https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=+MB+Memory {quote} reactos/ntoskrnl/ex/init.c 1592 "%u System Processor [%u MB Memory] %Z\r\n", reactos/ntoskrnl/kd/kdio.c 249 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); 387 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); 562 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); reactos/ntoskrnl/kd64/kdinit.c 381 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); reactos/sdk/include/reactos/mc/bugcodes.mc 38 %u System Processor [%u MB Memory] %Z\r 62 %u System Processors [%u MB Memory] %Z\r {quote} https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/ntoskrnl/kd/kdio.c;hb=bddf942900cbd56e825bcf85d6a772d2095d9635 {quote} 211 KdpInitDebugLog(PKD_DISPATCH_TABLE DispatchTable, ... 248 MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024; 249 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); 357 KdpSerialInit(PKD_DISPATCH_TABLE DispatchTable, ... 386 MemSizeMBs = KdpGetMemorySizeInMBs(KeLoaderBlock); 387 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); 521 KdpScreenInit(PKD_DISPATCH_TABLE DispatchTable, ... 561 MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024; 562 DPRINT1("%u System Processor [%u MB Memory]\n", KeNumberProcessors, MemSizeMBs); {quote} --> Why isn't MemSizeMBs calculated identically at the 3 places? https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=MmNumberOfPhysicalPages {quote} reactos/ntoskrnl/ex/init.c 1584 Size = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024; ... reactos/ntoskrnl/kd/kdio.c 248 MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024; 561 MemSizeMBs = MmNumberOfPhysicalPages * PAGE_SIZE / 1024 / 1024; ... {quote} https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=KdpGetMemorySizeInMBs {quote} reactos/ntoskrnl/kd/kdio.c 62 KdpGetMemorySizeInMBs(IN PLOADER_PARAMETER_BLOCK LoaderBlock) 386 MemSizeMBs = KdpGetMemorySizeInMBs(KeLoaderBlock); reactos/ntoskrnl/kd64/kdinit.c 31 KdpGetMemorySizeInMBs(IN PLOADER_PARAMETER_BLOCK LoaderBlock) 380 MemSizeMBs = KdpGetMemorySizeInMBs(KeLoaderBlock); {quote} --> (While there,) Why "same"(see above) code at a different place (io != init) between the 2 archs? ***** https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=GetPhysicallyInstalledSystemMemory {quote} rostests/winetests/kernel32/heap.c 1149 static void test_GetPhysicallyInstalledSystemMemory(void) ... 1157 if (!pGetPhysicallyInstalledSystemMemory) 1159 win_skip("GetPhysicallyInstalledSystemMemory is not available\n"); ... {quote} https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/dll/win32/kernel32/client/heapmem.c;hb=16823de57bb18b9a7cee8f7b1440b66813b6a41c#l1272 {quote} 1272 GlobalMemoryStatusEx(LPMEMORYSTATUSEX lpBuffer) {quote}