Changeset 1815 for trunk/src/kernel32/KERNEL32.CPP
- Timestamp:
- Nov 23, 1999, 8:31:35 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/KERNEL32.CPP
r1773 r1815 1 /* $Id: KERNEL32.CPP,v 1.3 2 1999-11-19 14:32:55 achimhaExp $ */1 /* $Id: KERNEL32.CPP,v 1.33 1999-11-23 19:31:34 sandervl Exp $ */ 2 2 3 3 /* … … 621 621 622 622 return(fEqual); 623 }624 //******************************************************************************625 //******************************************************************************626 //TODO: Query processor info to complete this api627 //******************************************************************************628 VOID WIN32API GetSystemInfo(LPSYSTEM_INFO lpSystemInfo)629 {630 dprintf(("KERNEL32: GetSystemInfo, not completely accurate\n"));631 lpSystemInfo->u.x.wProcessorArchitecture = PROCESSOR_ARCHITECTURE_INTEL;632 lpSystemInfo->u.x.wReserved = 0;633 lpSystemInfo->dwPageSize = 4096;634 // as of NT 4.0 SP3635 lpSystemInfo->lpMinimumApplicationAddress = (LPVOID)0x00010000;636 //TODO: detect Aurora and increase637 lpSystemInfo->lpMaximumApplicationAddress = (LPVOID)(512*1024*1024);638 lpSystemInfo->dwActiveProcessorMask = 1;639 lpSystemInfo->dwNumberOfProcessors = 1; //assuming non-SMP OS/2640 lpSystemInfo->dwProcessorType = PROCESSOR_INTEL_PENTIUM;641 lpSystemInfo->dwAllocationGranularity = 64*1024;642 lpSystemInfo->wProcessorLevel = 5; //Pentium643 lpSystemInfo->wProcessorRevision = 0x201; //Model 2 stepping 1 (obviously not correct)644 623 } 645 624 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.