update for HEAD-2003091401
[reactos.git] / lib / kernel32 / misc / sysinfo.c
index 008c0ce..875a13a 100644 (file)
@@ -11,6 +11,9 @@
 
 #define PV_NT351 0x00030033
 
+/*
+ * @unimplemented
+ */
 VOID
 STDCALL
 GetSystemInfo (
@@ -55,11 +58,11 @@ GetSystemInfo (
        Si->u.s.wProcessorArchitecture  = Spi.ProcessorArchitecture;
        /* For future use: always zero */
        Si->u.s.wReserved               = 0;
-       Si->dwPageSize                  = Sbi.PageSize;
-       Si->lpMinimumApplicationAddress = (PVOID)Sbi.MinimumUserModeAddress;
-       Si->lpMaximumApplicationAddress = (PVOID)Sbi.MaximumUserModeAddress;
-       Si->dwActiveProcessorMask       = Sbi.ActiveProcessorsAffinityMask;
-       Si->dwNumberOfProcessors        = Sbi.NumberOfProcessors;
+       Si->dwPageSize                  = Sbi.PhysicalPageSize;
+       Si->lpMinimumApplicationAddress = (PVOID)Sbi.LowestUserAddress;
+       Si->lpMaximumApplicationAddress = (PVOID)Sbi.HighestUserAddress;
+       Si->dwActiveProcessorMask       = Sbi.ActiveProcessors;
+       Si->dwNumberOfProcessors        = Sbi.NumberProcessors;
        /*
         * Compatibility (no longer relevant):
         *      PROCESSOR_INTEL_386     386
@@ -119,6 +122,10 @@ GetSystemInfo (
        }
 }
 
+
+/*
+ * @unimplemented
+ */
 BOOL STDCALL
 IsProcessorFeaturePresent(DWORD ProcessorFeature)
 {