- Timestamp:
- Nov 23, 1999, 8:31:35 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 added
- 4 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 //****************************************************************************** -
trunk/src/kernel32/KERNEL32.DEF
r1698 r1815 1 ; $Id: KERNEL32.DEF,v 1.5 1 1999-11-10 23:25:50 phallerExp $1 ; $Id: KERNEL32.DEF,v 1.52 1999-11-23 19:31:34 sandervl Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 942 942 lstrncmpW = _lstrncmpW@12 @786 943 943 944 IsProcessorFeaturePresent = _IsProcessorFeaturePresent@4 @880 945 944 946 GetFileAttributesExA = _GetFileAttributesExA@12 @874 945 947 GetFileAttributesExW = _GetFileAttributesExW@12 @875 -
trunk/src/kernel32/initterm.cpp
r1811 r1815 1 /* $Id: initterm.cpp,v 1.2 6 1999-11-22 20:35:50sandervl Exp $ */1 /* $Id: initterm.cpp,v 1.27 1999-11-23 19:31:35 sandervl Exp $ */ 2 2 3 3 /* … … 46 46 #include "hmdevio.h" 47 47 #include <windllbase.h> 48 #include "cpuhlp.h" 48 49 49 50 /*-------------------------------------------------------------------*/ … … 140 141 RegisterDevices(); 141 142 Win32DllBase::setDefaultRenaming(); 143 InitSystemInfo(); 142 144 break; 143 145 } -
trunk/src/kernel32/makefile
r1811 r1815 1 # $Id: makefile,v 1. 59 1999-11-22 20:35:50sandervl Exp $1 # $Id: makefile,v 1.60 1999-11-23 19:31:35 sandervl Exp $ 2 2 3 3 # … … 32 32 CONBUFFER.OBJ CONOUT.OBJ UNICODE.OBJ network.OBJ HMDEVIO.OBJ \ 33 33 profile.obj THREAD.OBJ virtual.obj THUNK.OBJ OBSOLETE.OBJ COMM.OBJ\ 34 MESSAGE.OBJ RESOURCE.OBJ EXCEPTIONS.OBJ heapshared.obj \34 MESSAGE.OBJ RESOURCE.OBJ EXCEPTIONS.OBJ heapshared.obj cpuhlp.obj \ 35 35 LFILE.OBJ NPIPE.OBJ oslibdos.obj oslibmisc.obj MISC.OBJ EXCEPTUTIL.OBJ \ 36 36 LANG.OBJ ICCIO.OBJ MAP.OBJ WIN32UTIL.OBJ heap.OBJ heapstring.obj \ … … 43 43 pefile.OBJ winimgres.OBJ wintls.obj async.OBJ fileio.obj \ 44 44 atom.obj disk.obj directory.obj cvtbitmap.obj hmmmap.obj winfakepeldr.obj \ 45 cvtaccel.obj cvticon.obj cvticongrp.obj oslibexcept.obj \45 cvtaccel.obj cvticon.obj cvticongrp.obj oslibexcept.obj cpu.obj \ 46 46 cvtcursor.obj cvtcursorgrp.obj stubs.obj interlock.obj toolhelp.obj 47 47 … … 74 74 $(PDWIN32_LIB)\LIBCONV.LIB 75 75 $(PDWIN32_LIB)\odincrt.lib 76 $(PDWIN32_LIB)\advapi32.lib 76 77 OS2386.LIB 77 78 $(RTLLIB_O) … … 145 146 initterm.h 146 147 147 initterm.OBJ: .\initterm.cpp initterm.h $(PDWIN32_INCLUDE)\heapshared.h mmap.h directory.h hmdevio.h 148 initterm.OBJ: .\initterm.cpp initterm.h $(PDWIN32_INCLUDE)\heapshared.h mmap.h directory.h hmdevio.h cpuhlp.h 148 149 149 150 thunk.OBJ: \ … … 376 377 377 378 heapshared.obj: heapshared.cpp $(PDWIN32_INCLUDE)\heapshared.h 378 379 cpu.obj: cpu.cpp cpuhlp.h 380 cpuhlp.obj: cpuhlp.asm 379 381 380 382 clean:
Note:
See TracChangeset
for help on using the changeset viewer.