OS2KRNL: Difference between revisions
Appearance
	
	
No edit summary  | 
				|||
| (59 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
This the OS/2 Kernel file.    | This the OS/2 Kernel file.  | ||
It controls the start and finish user programs, load different drivers (PSD,PDD,IFS) and controls serialization and share of resources   | It controls the start and finish user programs, load different drivers (PSD,PDD,IFS) and controls serialization and share of resources (memmory, CPU, ets).  | ||
It contains some functions like Dos* (for example DosBeep),   | It contains some functions like Dos* (for example DosBeep), Kee*, FSH*, DevHlp*, VDH* and some very specific.  | ||
;Note: This is one of the critical files for the [[OS/2 Kernel]].  | |||
==Version==  | ==Version==  | ||
{| class="wikitable"  | {|class="wikitable"  | ||
!Date  | !Date  | ||
!Version  | !Version  | ||
| Line 26: | Line 28: | ||
|849,283 bytes  | |849,283 bytes  | ||
|_W4 IBM OS/2 Kernel - Fixpack XR_C006  | |_W4 IBM OS/2 Kernel - Fixpack XR_C006  | ||
|-  | |||
|2017-07-09 09:33  | |||
|14.200 (W4)  | |||
|816,154 bytes  | |||
|_W4 IBM OS/2 Kernel - Included on 5.0.1  | |||
|}  | |}  | ||
==Kernel Part of DOSCALLS Ordinals==  | ==Kernel Part of DOSCALLS Ordinals==  | ||
{|class="wikitable"  | {|class="wikitable"  | ||
|1  | |1  | ||
|   | |  | ||
|2  | |2  | ||
|   | |[[DosCWait]]  | ||
|-  | |-  | ||
|3  | |3  | ||
|   | |[[DosEnterCritSec]]  | ||
|4  | |4  | ||
|   | |[[DosIExecPgm]]  | ||
|-  | |-  | ||
|5  | |5  | ||
|   | |[[DosExit]]   | ||
|6  | |6  | ||
|   | |[[DosExitCritSec]]  | ||
|-  | |-  | ||
|7  | |7  | ||
|   | |[[DosExitList]]  | ||
|8  | |8  | ||
|   | |[[DosGetInfoSeg]]  | ||
|-  | |-  | ||
|9  | |9  | ||
|   | |  | ||
|10  | |10  | ||
|   | |[[DosKillProcess]]  | ||
|-  | |-  | ||
|11  | |11  | ||
|   | |[[DosSetPrty]]   | ||
|12  | |12  | ||
|   | |  | ||
|-  | |-  | ||
|13  | |13  | ||
|   | |[[DosHoldSignal]]   | ||
|14  | |14  | ||
|   | |[[DosSetSigHandler]]   | ||
|-  | |-  | ||
|15  | |15  | ||
|   | |[[DosFlagProcess]]   | ||
|16  | |16  | ||
|   | |[[DosMakePipe]]   | ||
|-  | |-  | ||
|17  | |17  | ||
|   | |[[DosISysSemClear]]  | ||
|18  | |18  | ||
|   | |[[DosISemRequest]]  | ||
|-  | |-  | ||
|19  | |19  | ||
|   | |[[DosISysSemSet]]  | ||
|20  | |20  | ||
|   | |[[DosSemSetWait]]  | ||
|-  | |-  | ||
|21  | |21  | ||
|   | |[[DosISemWait]]  | ||
|22  | |22  | ||
|   | |[[DosMuxSemWait]]   | ||
|-  | |-  | ||
|23  | |23  | ||
|   | |[[DosCloseSem]]   | ||
|24  | |24  | ||
|   | |[[DosCreateSem]]   | ||
|-  | |-  | ||
|25  | |25  | ||
|   | |[[DosOpenSem]]   | ||
|26  | |26  | ||
|   | |[[DosResumeThread]]   | ||
|-  | |-  | ||
|27  | |27  | ||
|   | |[[DosSuspendThread]]  | ||
|28  | |28  | ||
|   | |  | ||
|-  | |-  | ||
|29  | |29  | ||
|   | |  | ||
|30  | |30  | ||
|   | |  | ||
|-  | |-  | ||
|31  | |31  | ||
|   | |  | ||
|32  | |32  | ||
|   | |[[DosSleep]]  | ||
|-  | |-  | ||
|33  | |33  | ||
|   | |[[DosGetDateTime]]  | ||
|34  | |34  | ||
|   | |[[DosAllocSeg]]   | ||
|-  | |-  | ||
|35  | |35  | ||
|   | |[[DosAllocShrSeg]]   | ||
|36  | |36  | ||
|   | |[[DosGetShrSeg]]   | ||
|-  | |-  | ||
|37  | |37  | ||
|  | |[[DosGiveSeg]]  | ||
|38  | |38  | ||
|  | |[[DosReallocSeg]]   | ||
|-  | |-  | ||
|39  | |39  | ||
|  | |[[DosFreeSeg]]   | ||
|40  | |40  | ||
|  | |[[DosAllocHuge]]   | ||
|-  | |-  | ||
|41  | |41  | ||
|  | |[[DosGetHugeShift]]   | ||
|42  | |42  | ||
|  | |[[DosReallocHuge]]    | ||
|-  | |-  | ||
|43  | |43  | ||
|  | |[[DosCreateCSAlias]]   | ||
|44  | |44  | ||
|  | |[[DosLoadModule]]  | ||
|-  | |-  | ||
|45  | |45  | ||
|  | |[[DosGetProcAddr|DosGetProcAddr]]   | ||
|46  | |46  | ||
|  | |[[DosFreeModule|DosFreeModule]]  | ||
|-  | |-  | ||
|47  | |47  | ||
|  | |[[DosGetModHandle|DosGetModHandle]]   | ||
|48  | |48  | ||
|  | |[[DosGetModName|DosGetModName]]   | ||
|-  | |-  | ||
|49  | |49  | ||
|  | |[[DosGetMachineMode|DosGetMachineMode]]   | ||
|50  | |50  | ||
|   | |[[DosBeep]]   | ||
|-  | |-  | ||
|51  | |51  | ||
|   | |  | ||
|52  | |52  | ||
|  | |[[DosDevConfig|DosDevConfig]]  | ||
|-  | |-  | ||
|53  | |53  | ||
|  | | [[DosDevIOCtl|DosDevIOCtl]]  | ||
|54  | |54  | ||
|DOSSGSWITCH  | |DOSSGSWITCH  | ||
| Line 170: | Line 175: | ||
|DOSSGSWITCHME  | |DOSSGSWITCHME  | ||
|56  | |56  | ||
|  | |[[DosBufReset|DosBufReset]]   | ||
|-  | |-  | ||
|57  | |57  | ||
|  | |[[DosChDir|DosChDir]]   | ||
|58  | |58  | ||
|  | |[[DosChgFilePtr|DosChgFilePtr]]   | ||
|-  | |-  | ||
|59  | |59  | ||
|  | |[[DosClose]]  | ||
|60  | |60  | ||
|  | |[[DosDelete]]  | ||
|-  | |-  | ||
|61  | |61  | ||
|  | |[[DosDupHandle]]  | ||
|62  | |62  | ||
|   | |  | ||
|-  | |-  | ||
|63  | |63  | ||
|  | |[[DosFindClose]]  | ||
|64  | |64  | ||
|  | |[[DosFindFirst]]  | ||
|-  | |-  | ||
|65  | |65  | ||
|   | |  | ||
|66  | |66  | ||
|   | | [[DosMkDir|DosMkDir]]  | ||
|-  | |-  | ||
|67  | |67  | ||
|   | | [[DosMove]]  | ||
|68  | |68  | ||
|   | | [[DosNewSize|DosNewSize]]  | ||
|-  | |-  | ||
|69  | |69  | ||
|   | |  | ||
|70  | |70  | ||
|   | | [[DosOpen]]  | ||
|-  | |-  | ||
|71  | |71  | ||
|   | | [[DosQCurDir]]  | ||
|72  | |72  | ||
|   | | [[DosQCurDisk]]  | ||
|-  | |-  | ||
|73  | |73  | ||
|   | | [[DosQFHandState]]  | ||
|74  | |74  | ||
|   | | [[DosQFileInfo]]  | ||
|-  | |-  | ||
|75  | |75  | ||
|   | | [[DosQFileMode]]  | ||
|76  | |76  | ||
|   | | [[DosQFSInfo]]  | ||
|-  | |-  | ||
|77  | |77  | ||
|  | |[[DosQHandType]]  | ||
|78  | |78  | ||
|   | |  | ||
|-  | |-  | ||
|79  | |79  | ||
|  | |[[DosIRead]]  | ||
|80  | |80  | ||
|  | |[[DosRmDir]]  | ||
|-  | |-  | ||
|81  | |81  | ||
|  | |[[DosSelectDisk]]  | ||
|82  | |82  | ||
|  | |[[DosSetFHandState]]  | ||
|-  | |-  | ||
|83  | |83  | ||
|  | |[[DosSetFileInfo]]  | ||
|84  | |84  | ||
|  | |[[DosSetFileMode]]  | ||
|-  | |-  | ||
|85  | |85  | ||
|  | |[[DosSetMaxFH]]  | ||
|86  | |86  | ||
|   | |  | ||
|-  | |-  | ||
|87  | |87  | ||
|  | |[[DosIWrite]]  | ||
|88  | |88  | ||
|DOSSYSTEMSERVICE  | |DOSSYSTEMSERVICE  | ||
|-  | |-  | ||
|89  | |89  | ||
|  | |[[DosSetVec]]  | ||
|90  | |90  | ||
|-----  | |-----  | ||
|-  | |-  | ||
|91  | |91  | ||
|  | |[[DosGetEnv]]  | ||
|92  | |92  | ||
|  | |[[DosGetVersion]]  | ||
|-  | |-  | ||
|93  | |93  | ||
|   | |  | ||
|94  | |94  | ||
|  | |[[DosGetPID]]  | ||
|-  | |-  | ||
|95  | |95  | ||
|  | |[[DosOpen2]]  | ||
|96  | |96  | ||
|DOSLIBINIT  | |DOSLIBINIT  | ||
|-  | |-  | ||
|97  | |97  | ||
|   | |  | ||
|98  | |98  | ||
|  | |[[DosQPathInfo]]  | ||
|-  | |-  | ||
|99  | |99  | ||
| Line 285: | Line 290: | ||
|DOSSETFGND  | |DOSSETFGND  | ||
|102  | |102  | ||
|   | |  | ||
|-  | |-  | ||
|103  | |103  | ||
|   | |  | ||
|104  | |104  | ||
|   | |  | ||
|-  | |-  | ||
|105  | |105  | ||
|DOSSGSWITCHPROC2  | |DOSSGSWITCHPROC2  | ||
|106  | |106  | ||
|   | |  | ||
|-  | |-  | ||
|107  | |107  | ||
|   | |  | ||
|108  | |108  | ||
|DOSISETRELMAXFH  | |DOSISETRELMAXFH  | ||
| Line 305: | Line 310: | ||
|DOSIDEVIOCTL  | |DOSIDEVIOCTL  | ||
|110  | |110  | ||
|   | |  | ||
|-  | |-  | ||
|119  | |119  | ||
|  | |  | ||
|120  | |120  | ||
|  | |[[DosError]]  | ||
|-  | |-  | ||
|121  | |121  | ||
|  | |[[DosGetSeg]]  | ||
|122  | |122  | ||
|   | |[[DosLockSeg]]  | ||
|-  | |-  | ||
|123  | |123  | ||
|   | |[[DosUnlockSeg]]  | ||
|124  | |124  | ||
|   | |  | ||
|-  | |-  | ||
|125  | |125  | ||
|  | |DOSIRAMSEMWAKE  | ||
|126  | |126  | ||
|   | |[[DosSizeSeg]]  | ||
|-  | |-  | ||
|127  | |127  | ||
|   | |  | ||
|128  | |128  | ||
|  | |DOSIRAMSEMREQUEST  | ||
|-  | |-  | ||
|129  | |129  | ||
|  | |[[DosPhysicalDisk]]  | ||
|130  | |130  | ||
|   | |[[DosGetCp|DosGetCp]]  | ||
|-  | |-  | ||
|131  | |131  | ||
|  | |DOSISETCP  | ||
|132  | |132  | ||
|   | |DOSGLOBALSEG  | ||
|-  | |-  | ||
|133  | |133  | ||
|   | |  | ||
|134  | |134  | ||
|   | |[[DosSendSignal]]  | ||
|-  | |-  | ||
|135  | |135  | ||
|  | |  | ||
|136  | |136  | ||
|   | |  | ||
|-  | |-  | ||
|137  | |137  | ||
|   | |  | ||
|138  | |138  | ||
|  | |  | ||
| Line 360: | Line 365: | ||
|  | |  | ||
|140  | |140  | ||
|   | |  | ||
|-  | |-  | ||
|141  | |141  | ||
|  | |  | ||
|142  | |142  | ||
|   | |  | ||
|-  | |-  | ||
|143  | |143  | ||
|   | |  | ||
|144  | |144  | ||
|   | |  | ||
|-  | |-  | ||
|145  | |145  | ||
|[[DosCreateThread]]  | |||
|146  | |||
|  | |  | ||
|-  | |-  | ||
|147  | |147  | ||
|   | |  | ||
|148  | |148  | ||
|  | |  | ||
| Line 385: | Line 390: | ||
|  | |  | ||
|150  | |150  | ||
|   | |  | ||
|-  | |-  | ||
|151  | |151  | ||
|  | |  | ||
|152  | |152  | ||
|   | |  | ||
|-  | |-  | ||
|153  | |153  | ||
|   | |  | ||
|154  | |154  | ||
|   | | [[DosQProcStatus]]  | ||
|-  | |-  | ||
|155  | |155  | ||
|  | |  | ||
|156  | |156  | ||
|   | | [[DosGetPPID]]   | ||
|-  | |-  | ||
|157  | |157  | ||
|   | |  | ||
|158  | |158  | ||
|  | |  | ||
| Line 410: | Line 415: | ||
|  | |  | ||
|160  | |160  | ||
|   | |[[DosR2StackRealloc]]  | ||
|-  | |-  | ||
|-  | |-  | ||
| Line 416: | Line 421: | ||
|  | |  | ||
|162  | |162  | ||
|   | |  | ||
|-  | |-  | ||
|163  | |163  | ||
|   | |  | ||
|164  | |164  | ||
|   | |  | ||
|-  | |-  | ||
|165  | |165  | ||
|  | |  | ||
|166  | |166  | ||
|   | |[[DosQSysInfo]]  | ||
|-  | |-  | ||
|167  | |167  | ||
|   | |DOSIMAKENMPIPE  | ||
|168  | |168  | ||
|DOSICALLNMPIPE  | |||
|-  | |||
|169  | |||
|DOSICONNECTNMPIPE  | |||
|170  | |||
|DOSIDISCONNECTNMPIPE  | |||
|-  | |||
|171  | |||
|  | |||
|172  | |||
|  | |||
|-  | |||
|173  | |||
|DOSIQNMPHANDSTATE  | |||
|174  | |||
|DOSISETNMPHANDSTATE  | |||
|-  | |||
|175  | |||
|  | |||
|176  | |||
|DOSIWAITNMPIPE  | |||
|-  | |||
|177  | |||
|DOSISETNMPIPESEM  | |||
|178  | |||
|DOSIQNMPIPESEMSTATE  | |||
|-  | |||
|179  | |||
|  | |||
|180  | |||
|  | |||
|-  | |||
|181  | |||
|DOSFSATTACH  | |||
|182  | |||
|DOSQFSATTACH  | |||
|-  | |||
|183  | |||
|DOSFSCTL  | |||
|184  | |||
|DOSFINDFIRST2  | |||
|-  | |||
|185  | |||
|DOSMKDIR2  | |||
|186  | |||
|DOSFILEIO   | |||
|-  | |||
|187  | |||
|  | |||
|188  | |||
|  | |||
|-  | |||
|189  | |||
|  | |||
|190  | |||
|  | |||
|-  | |||
|191  | |||
|DOSEDITNAME  | |||
|192  | |||
|  | |||
|-  | |||
|193  | |||
|  | |||
|194  | |||
|  | |||
|-  | |||
|195  | |||
|  | |||
|196  | |||
|  | |||
|-  | |||
|197  | |||
|  | |||
|198  | |||
|  | |||
|-  | |||
|199  | |||
|DOSOPLOCKWAIT   | |||
|200  | |||
|DOSICOPY  | |||
|-  | |||
|201  | |||
|  | |||
|202  | |||
|DOSIQAPPTYPE  | |||
|-  | |||
|203  | |||
|DOSFORCEDELETE  | |||
|204  | |||
|DOSENUMATTRIBUTE  | |||
|-  | |||
|205  | |||
|  | |||
|206  | |||
|  | |||
|-  | |||
|207  | |||
|DOSGETRESOURCE2  | |||
|208  | |||
|  | |||
|-  | |||
|209  | |||
|DOS32SETMAXFH  | |||
|210  | |||
|  | |||
|-  | |||
|211  | |||
|  | |||
|212  | |||
|DOS32ERROR  | |||
|-  | |||
|213  | |||
|DOSCREATEVDM  | |||
|214  | |||
|  | |||
|-  | |||
|227  | |||
|DOS32SCANENV   | |||
|228  | |||
|  | |||
|-  | |||
|229  | |||
|DOS32SLEEP  | |||
|230  | |||
|  | |||
|-  | |||
|231  | |||
|  | |||
|232  | |||
|DOS32ENTERCRITSEC  | |||
|-  | |||
|233  | |||
|DOS32EXITCRITSEC  | |||
|234  | |||
|DOS32EXIT   | |||
|-  | |||
|235  | |||
|  | |||
|236  | |||
|  | |||
|-  | |||
|237  | |||
|DOS32RESUMETHREAD  | |||
|238  | |||
|  | |||
|-  | |||
|285  | |||
|  | |||
|286  | |||
|DOS32BEEP  | |||
|-  | |||
|291  | |||
|  | |||
|292  | |||
|DOS32SETDATETIME  | |||
|-  | |||
|319  | |||
| DOS32QUERYMODULEHANDLE   | |||
|320  | |||
|DOS32QUERYMODULENAME  | |||
|-  | |||
|321  | |||
|  | |||
|322  | |||
|DOS32FREEMODULE  | |||
|-  | |||
|381  | |||
|  | |||
|382  | |||
|DOS32SETRELMAXFH  | |||
|-  | |||
|437  | |||
|DOSOPENCHANGENOTIFY  | |||
|438  | |||
|DOSRESETCHANGENOTIFY  | |||
|-  | |||
|439  | |||
|DOSCLOSECHANGENOTIFY  | |||
|440  | |||
|  | |||
|-  | |||
|441  | |||
|  | |||
|442  | |||
|  | |||
|-  | |||
|443  | |||
|DOSQUERYABIOSSUPPORT  | |||
|444  | |||
|  | |||
|-  | |||
|445  | |||
|  | |||
|446  | |||
|  | |||
|-  | |||
|447  | |||
|  | |||
|448  | |||
|  | |||
|-  | |||
|449  | |||
|DOSCREATESPINLOCK  | |||
|450  | |||
|DOSACQUIRESPINLOCK  | |||
|-  | |||
|451  | |||
|DOSRELEASESPINLOCK  | |||
|452  | |||
|  | |||
|-  | |||
|541  | |||
|DOSIOPENL  | |||
|542  | |||
|  | |||
|-  | |||
|543  | |||
|DOSISETFILESIZEL  | |||
|544  | |||
|  | |||
|-  | |||
|545  | |||
|  | |||
|546  | |||
|  | |||
|-  | |||
|547  | |||
|  | |||
|548  | |||
|  | |||
|-  | |||
|549  | |||
|  | |||
|550  | |||
|  | |||
|-  | |||
|551  | |||
|  | |||
|552  | |||
|  | |||
|-  | |||
|553  | |||
|  | |||
|554  | |||
|  | |||
|-  | |||
|555  | |||
|  | |||
|556  | |||
|  | |||
|-  | |||
|557  | |||
|DOS32CREATESPINLOCK  | |||
|558  | |||
|DOS32ACQUIRESPINLOCK  | |||
|-  | |||
|559  | |||
|DOS32RELEASESPINLOCK  | |||
|560  | |||
|  | |||
|-  | |||
|561  | |||
|  | |||
|562  | |||
|  | |||
|-  | |||
|563  | |||
|  | |||
|564  | |||
|  | |||
|-  | |||
|565  | |||
|DOSISETFILEINFO  | |||
|566  | |||
|DOSISETPATHINFO  | |||
|-  | |||
|567  | |||
|  | |||
|568  | |||
|  | |||
|-  | |||
|569  | |||
|DOSIFINDNEXT  | |||
|570  | |||
|  | |||
|-  | |||
|571  | |||
|  | |||
|572  | |||
|  | |||
|-  | |||
|573  | |||
|  | |||
|574  | |||
|  | |||
|-  | |||
|597  | |||
|DOS32IQUERYFHSTATE  | |||
|598  | |||
|DOS32ISETFHSTATE  | |||
|-  | |||
|599  | |||
|  | |||
|600  | |||
|  | |||
|-  | |||
|601  | |||
|DOSIFINDFIRST  | |||
|602  | |||
|  | |||
|-  | |||
|651  | |||
|DOS16LDRDIRTYWORKER  | |||
|652  | |||
|  | |||
|-  | |||
|653  | |||
|  | |||
|654  | |||
|  | |  | ||
|-  | |-  | ||
|  | |655  | ||
|  | |||
|656  | |||
|T32GETPROCESSORSTATUS  | |||
|-  | |||
|657  | |||
|T32SETPROCESSORSTATUS  | |||
|658  | |||
|  | |  | ||
|-  | |-  | ||
|659  | |||
|T32QUERYTHREADAFFINITY  | |||
|660  | |||
|T32SETTHREADAFFINITY  | |||
|-  | |||
|}  | |||
==Can be Linked only to DOSCALL1.DLL==  | |||
Functions over the 1000 ordinal can be linked only to DOSCALL1.DLL and not directly from an application.  | |||
{|class="wikitable"  | |||
|  | |||
|  | |||
|1000  | |||
|T32EXITLIST  | |||
|-  | |||
|1001  | |||
|  | |||
|1002  | |||
|T32ALIASMEM  | |||
|-  | |||
|1003  | |||
|T32ALLOCMEM  | |||
|1004  | |||
|T32ALLOCSHAREDMEM  | |||
|-  | |||
|1005  | |||
|T32GETNAMEDSHAREDMEM  | |||
|1006  | |||
|T32GETSHAREDMEM  | |||
|-  | |||
|1007  | |||
|T32GIVESHAREDMEM  | |||
|1008  | |||
|T32FREEMEM  | |||
|-  | |||
|1009  | |||
|T32SETMEM  | |||
|1010  | |||
|T32QUERYMEM  | |||
|-  | |||
|1011  | |||
|  | |||
|1012  | |||
|T32OPENVDD  | |||
|-  | |||
|1013  | |||
|T32REQUESTVDD  | |||
|1014  | |||
|T32CLOSEVDD  | |||
|-  | |||
|1015  | |||
|T32CREATETHREAD  | |||
|1016  | |||
|  | |||
|-  | |||
|1017  | |||
|T32DEBUG  | |||
|1018  | |||
|T32QUERYPROCADDR  | |||
|-  | |||
|1019  | |||
|T32CREATEEVENTSEM  | |||
|1020  | |||
|T32OPENEVENTSEM  | |||
|-  | |||
|1021  | |||
|T32CLOSEEVENTSEM  | |||
|1022  | |||
|T32RESETEVENTSEM  | |||
|-  | |||
|1023  | |||
|T32POSTEVENTSEM  | |||
|1024  | |||
|T32WAITEVENTSEM  | |||
|-  | |||
|1025  | |||
|T32QUERYEVENTSEM  | |||
|1026  | |||
|T32CREATEMUTEXSEM  | |||
|-  | |||
|1027  | |||
|T32OPENMUTEXSEM  | |||
|1028  | |||
|T32CLOSEMUTEXSEM  | |||
|-  | |||
|1029  | |||
|T32REQUESTMUTEXSEM  | |||
|1030  | |||
|T32RELEASEMUTEXSEM  | |||
|-  | |||
|1031  | |||
|T32QUERYMUTEXSEM  | |||
|1032  | |||
|T32CREATEMUXWAITSEM  | |||
|-  | |||
|1033  | |||
|T32OPENMUXWAITSEM  | |||
|1034  | |||
|T32CLOSEMUXWAITSEM   | |||
|-  | |||
|1035  | |||
|T32WAITMUXWAITSEM  | |||
|1036  | |||
|T32ADDMUXWAITSEM  | |||
|-  | |||
|1037  | |||
|  | |||
|1038  | |||
|  | |||
|-  | |||
|1039  | |||
|T32QUERYSYSINFO  | |||
|1040  | |||
|T32WAITTHREAD  | |||
|-  | |||
|1041  | |||
|T32GETRESOURCE  | |||
|1042  | |||
|T32FREERESOURCE  | |||
|-  | |||
|1043  | |||
|T32EXCEPTIONCALLBACK  | |||
|1044  | |||
|  | |||
|-  | |||
|1045  | |||
|  | |||
|1046  | |||
|  | |||
|-  | |||
|1047  | |||
|T32ISTARTTIMER  | |||
|1048  | |||
|  | |||
|-  | |||
|1049  | |||
|T32QUERYMODFROMEIP  | |||
|1050  | |||
|  | |||
|-  | |||
|1051  | |||
|  | |||
|1052  | |||
|  | |||
|-  | |||
|1053  | |||
|  | |||
|1054  | |||
|T32QUERYSYSSTATE  | |||
|-  | |||
|1055  | |||
|T32IREAD  | |||
|1056  | |||
|T32IWRITE  | |||
|-  | |||
|1057  | |||
|T32TMRQUERYFREQ  | |||
|1058  | |||
|T32TMRQUERYTIME  | |||
|-  | |||
|1059  | |||
|T32IMONREAD  | |||
|1060  | |||
|T32IMONWRITE  | |||
|-  | |||
|1061  | |||
|T32QUERYRESOURCESIZE  | |||
|1062  | |||
|  | |||
|-  | |||
|1063  | |||
|T32SETSIGNALEXCEPTIONFOC  | |||
|1064  | |||
|  | |||
|-  | |||
|1065  | |||
|  | |||
|1066  | |||
|T32STOPTIMER  | |||
|-  | |||
|1067  | |||
|T32ASYNCTIMER   | |||
|1068  | |||
|  | |||
|-  | |||
|1069  | |||
|  | |||
|1070  | |||
|T32QUERYPROCTYPE  | |||
|-  | |||
|1071  | |||
|  | |||
|1072  | |||
|  | |||
|-  | |||
|1073  | |||
|T32DLLTERM  | |||
|1074  | |||
|T32IRAISEEXCEPTION  | |||
|-  | |||
|1075  | |||
|T32ACKNOWLEDGESIGNALEXC  | |||
|1076  | |||
|T32QUERYDOSPROPERTY  | |||
|-  | |||
|1077  | |||
|  | |||
|1078  | |||
|T32SETFILELOCKS  | |||
|-  | |||
|1079  | |||
|  | |||
|1080  | |||
|T32KILLTHREAD  | |||
|-  | |||
|1081  | |||
|T32QUERYRASINFO   | |||
|1082  | |||
|T32DUMPPROCESS   | |||
|-  | |||
|1083  | |||
|  | |||
|1084  | |||
|  | |||
|-  | |||
|1085  | |||
|  | |||
|1086  | |||
|  | |||
|-  | |||
|1087  | |||
|T32PMPOSTEVENTSEM  | |||
|1088  | |||
|T32PMWAITEVENTSEM  | |||
|-  | |||
|1089  | |||
|T32PMREQUESTMUTEXSEM  | |||
|1090  | |||
|  | |||
|-  | |||
|1091  | |||
|T32PM16SEMCHK  | |||
|1092  | |||
|T32ALLOCTHREADLOCALMEMORY  | |||
|-  | |||
|1093  | |||
|T32FREETHREADLOCALMEMORY  | |||
|1094  | |||
|T32SETEXTLIBPATH  | |||
|-  | |||
|1095  | |||
|T32QUERYEXTLIBPATH  | |||
|1096  | |||
|T32PM16SEMRST  | |||
|-  | |||
|1097  | |||
|T32VERIFYPIDTID  | |||
|1098  | |||
|T32SYSCTL  | |||
|-  | |||
|1099  | |||
|  | |||
|1100  | |||
|  | |||
|-  | |||
|1101  | |||
|T32PERFSYSCALL  | |||
|1102  | |||
|  | |||
|-  | |||
|1103  | |||
|T32PMR3WAITEVENTSEM  | |||
|1104  | |||
|T32PMR3POSTEVENTSEM  | |||
|-  | |||
|1105  | |||
|  | |||
|1106  | |||
|  | |||
|-  | |||
|1107  | |||
|  | |||
|1108  | |||
|T32SETFILELOCKSL  | |||
|-  | |||
|1109  | |||
|  | |||
|1110  | |||
|T32ISETFILEPTRL  | |||
|-  | |||
|1111  | |||
|  | |||
|1112  | |||
|  | |||
|-  | |||
|1113  | |||
|  | |||
|1114  | |||
|  | |||
|-  | |||
|1115  | |||
|  | |||
|1116  | |||
|T32ISETFILEPTR  | |||
|-  | |||
|1117  | |1117  | ||
|  | |  | ||
|  | |  | ||
|  | |||
|}  | |}  | ||
==DLLs Loaded==  | ==DLLs Loaded==  | ||
DOSCALL1.DLL, SESMGR.DLL  | |||
==Alternative Versions==  | ==Alternative Versions==  | ||
Latest revision as of 16:07, 1 April 2025
This the OS/2 Kernel file.
It controls the start and finish user programs, load different drivers (PSD,PDD,IFS) and controls serialization and share of resources (memmory, CPU, ets).
It contains some functions like Dos* (for example DosBeep), Kee*, FSH*, DevHlp*, VDH* and some very specific.
- Note
 - This is one of the critical files for the OS/2 Kernel.
 
Version
| Date | Version | Size | Comments | 
|---|---|---|---|
| 2011-05-06 18:44 | 14.105 (SMP) | 870,857 bytes | SMP IBM OS/2 Kernel | 
| 2011-05-06 22:44 | 14.105 (W4) | 816,111 bytes | _W4 IBM OS/2 Kernel - Included on eCS 2.1 | 
| 2007-02-13 09:33 | 14.106 (W4) | 849,283 bytes | _W4 IBM OS/2 Kernel - Fixpack XR_C006 | 
| 2017-07-09 09:33 | 14.200 (W4) | 816,154 bytes | _W4 IBM OS/2 Kernel - Included on 5.0.1 | 
Kernel Part of DOSCALLS Ordinals
| 1 | 2 | DosCWait | |
| 3 | DosEnterCritSec | 4 | DosIExecPgm | 
| 5 | DosExit | 6 | DosExitCritSec | 
| 7 | DosExitList | 8 | DosGetInfoSeg | 
| 9 | 10 | DosKillProcess | |
| 11 | DosSetPrty | 12 | |
| 13 | DosHoldSignal | 14 | DosSetSigHandler | 
| 15 | DosFlagProcess | 16 | DosMakePipe | 
| 17 | DosISysSemClear | 18 | DosISemRequest | 
| 19 | DosISysSemSet | 20 | DosSemSetWait | 
| 21 | DosISemWait | 22 | DosMuxSemWait | 
| 23 | DosCloseSem | 24 | DosCreateSem | 
| 25 | DosOpenSem | 26 | DosResumeThread | 
| 27 | DosSuspendThread | 28 | |
| 29 | 30 | ||
| 31 | 32 | DosSleep | |
| 33 | DosGetDateTime | 34 | DosAllocSeg | 
| 35 | DosAllocShrSeg | 36 | DosGetShrSeg | 
| 37 | DosGiveSeg | 38 | DosReallocSeg | 
| 39 | DosFreeSeg | 40 | DosAllocHuge | 
| 41 | DosGetHugeShift | 42 | DosReallocHuge | 
| 43 | DosCreateCSAlias | 44 | DosLoadModule | 
| 45 | DosGetProcAddr | 46 | DosFreeModule | 
| 47 | DosGetModHandle | 48 | DosGetModName | 
| 49 | DosGetMachineMode | 50 | DosBeep | 
| 51 | 52 | DosDevConfig | |
| 53 | DosDevIOCtl | 54 | DOSSGSWITCH | 
| 55 | DOSSGSWITCHME | 56 | DosBufReset | 
| 57 | DosChDir | 58 | DosChgFilePtr | 
| 59 | DosClose | 60 | DosDelete | 
| 61 | DosDupHandle | 62 | |
| 63 | DosFindClose | 64 | DosFindFirst | 
| 65 | 66 | DosMkDir | |
| 67 | DosMove | 68 | DosNewSize | 
| 69 | 70 | DosOpen | |
| 71 | DosQCurDir | 72 | DosQCurDisk | 
| 73 | DosQFHandState | 74 | DosQFileInfo | 
| 75 | DosQFileMode | 76 | DosQFSInfo | 
| 77 | DosQHandType | 78 | |
| 79 | DosIRead | 80 | DosRmDir | 
| 81 | DosSelectDisk | 82 | DosSetFHandState | 
| 83 | DosSetFileInfo | 84 | DosSetFileMode | 
| 85 | DosSetMaxFH | 86 | |
| 87 | DosIWrite | 88 | DOSSYSTEMSERVICE | 
| 89 | DosSetVec | 90 | |
| 91 | DosGetEnv | 92 | DosGetVersion | 
| 93 | 94 | DosGetPID | |
| 95 | DosOpen2 | 96 | DOSLIBINIT | 
| 97 | 98 | DosQPathInfo | |
| 99 | DOSDEVIOCTL2 | 100 | DOSICANONICALIZE | 
| 101 | DOSSETFGND | 102 | |
| 103 | 104 | ||
| 105 | DOSSGSWITCHPROC2 | 106 | |
| 107 | 108 | DOSISETRELMAXFH | |
| 109 | DOSIDEVIOCTL | 110 | |
| 119 | 120 | DosError | |
| 121 | DosGetSeg | 122 | DosLockSeg | 
| 123 | DosUnlockSeg | 124 | |
| 125 | DOSIRAMSEMWAKE | 126 | DosSizeSeg | 
| 127 | 128 | DOSIRAMSEMREQUEST | |
| 129 | DosPhysicalDisk | 130 | DosGetCp | 
| 131 | DOSISETCP | 132 | DOSGLOBALSEG | 
| 133 | 134 | DosSendSignal | |
| 135 | 136 | ||
| 137 | 138 | ||
| 139 | 140 | ||
| 141 | 142 | ||
| 143 | 144 | ||
| 145 | DosCreateThread | 146 | |
| 147 | 148 | ||
| 149 | 150 | ||
| 151 | 152 | ||
| 153 | 154 | DosQProcStatus | |
| 155 | 156 | DosGetPPID | |
| 157 | 158 | ||
| 159 | 160 | DosR2StackRealloc | |
| 161 | 162 | ||
| 163 | 164 | ||
| 165 | 166 | DosQSysInfo | |
| 167 | DOSIMAKENMPIPE | 168 | DOSICALLNMPIPE | 
| 169 | DOSICONNECTNMPIPE | 170 | DOSIDISCONNECTNMPIPE | 
| 171 | 172 | ||
| 173 | DOSIQNMPHANDSTATE | 174 | DOSISETNMPHANDSTATE | 
| 175 | 176 | DOSIWAITNMPIPE | |
| 177 | DOSISETNMPIPESEM | 178 | DOSIQNMPIPESEMSTATE | 
| 179 | 180 | ||
| 181 | DOSFSATTACH | 182 | DOSQFSATTACH | 
| 183 | DOSFSCTL | 184 | DOSFINDFIRST2 | 
| 185 | DOSMKDIR2 | 186 | DOSFILEIO | 
| 187 | 188 | ||
| 189 | 190 | ||
| 191 | DOSEDITNAME | 192 | |
| 193 | 194 | ||
| 195 | 196 | ||
| 197 | 198 | ||
| 199 | DOSOPLOCKWAIT | 200 | DOSICOPY | 
| 201 | 202 | DOSIQAPPTYPE | |
| 203 | DOSFORCEDELETE | 204 | DOSENUMATTRIBUTE | 
| 205 | 206 | ||
| 207 | DOSGETRESOURCE2 | 208 | |
| 209 | DOS32SETMAXFH | 210 | |
| 211 | 212 | DOS32ERROR | |
| 213 | DOSCREATEVDM | 214 | |
| 227 | DOS32SCANENV | 228 | |
| 229 | DOS32SLEEP | 230 | |
| 231 | 232 | DOS32ENTERCRITSEC | |
| 233 | DOS32EXITCRITSEC | 234 | DOS32EXIT | 
| 235 | 236 | ||
| 237 | DOS32RESUMETHREAD | 238 | |
| 285 | 286 | DOS32BEEP | |
| 291 | 292 | DOS32SETDATETIME | |
| 319 | DOS32QUERYMODULEHANDLE | 320 | DOS32QUERYMODULENAME | 
| 321 | 322 | DOS32FREEMODULE | |
| 381 | 382 | DOS32SETRELMAXFH | |
| 437 | DOSOPENCHANGENOTIFY | 438 | DOSRESETCHANGENOTIFY | 
| 439 | DOSCLOSECHANGENOTIFY | 440 | |
| 441 | 442 | ||
| 443 | DOSQUERYABIOSSUPPORT | 444 | |
| 445 | 446 | ||
| 447 | 448 | ||
| 449 | DOSCREATESPINLOCK | 450 | DOSACQUIRESPINLOCK | 
| 451 | DOSRELEASESPINLOCK | 452 | |
| 541 | DOSIOPENL | 542 | |
| 543 | DOSISETFILESIZEL | 544 | |
| 545 | 546 | ||
| 547 | 548 | ||
| 549 | 550 | ||
| 551 | 552 | ||
| 553 | 554 | ||
| 555 | 556 | ||
| 557 | DOS32CREATESPINLOCK | 558 | DOS32ACQUIRESPINLOCK | 
| 559 | DOS32RELEASESPINLOCK | 560 | |
| 561 | 562 | ||
| 563 | 564 | ||
| 565 | DOSISETFILEINFO | 566 | DOSISETPATHINFO | 
| 567 | 568 | ||
| 569 | DOSIFINDNEXT | 570 | |
| 571 | 572 | ||
| 573 | 574 | ||
| 597 | DOS32IQUERYFHSTATE | 598 | DOS32ISETFHSTATE | 
| 599 | 600 | ||
| 601 | DOSIFINDFIRST | 602 | |
| 651 | DOS16LDRDIRTYWORKER | 652 | |
| 653 | 654 | ||
| 655 | 656 | T32GETPROCESSORSTATUS | |
| 657 | T32SETPROCESSORSTATUS | 658 | |
| 659 | T32QUERYTHREADAFFINITY | 660 | T32SETTHREADAFFINITY | 
Can be Linked only to DOSCALL1.DLL
Functions over the 1000 ordinal can be linked only to DOSCALL1.DLL and not directly from an application.
| 1000 | T32EXITLIST | ||
| 1001 | 1002 | T32ALIASMEM | |
| 1003 | T32ALLOCMEM | 1004 | T32ALLOCSHAREDMEM | 
| 1005 | T32GETNAMEDSHAREDMEM | 1006 | T32GETSHAREDMEM | 
| 1007 | T32GIVESHAREDMEM | 1008 | T32FREEMEM | 
| 1009 | T32SETMEM | 1010 | T32QUERYMEM | 
| 1011 | 1012 | T32OPENVDD | |
| 1013 | T32REQUESTVDD | 1014 | T32CLOSEVDD | 
| 1015 | T32CREATETHREAD | 1016 | |
| 1017 | T32DEBUG | 1018 | T32QUERYPROCADDR | 
| 1019 | T32CREATEEVENTSEM | 1020 | T32OPENEVENTSEM | 
| 1021 | T32CLOSEEVENTSEM | 1022 | T32RESETEVENTSEM | 
| 1023 | T32POSTEVENTSEM | 1024 | T32WAITEVENTSEM | 
| 1025 | T32QUERYEVENTSEM | 1026 | T32CREATEMUTEXSEM | 
| 1027 | T32OPENMUTEXSEM | 1028 | T32CLOSEMUTEXSEM | 
| 1029 | T32REQUESTMUTEXSEM | 1030 | T32RELEASEMUTEXSEM | 
| 1031 | T32QUERYMUTEXSEM | 1032 | T32CREATEMUXWAITSEM | 
| 1033 | T32OPENMUXWAITSEM | 1034 | T32CLOSEMUXWAITSEM | 
| 1035 | T32WAITMUXWAITSEM | 1036 | T32ADDMUXWAITSEM | 
| 1037 | 1038 | ||
| 1039 | T32QUERYSYSINFO | 1040 | T32WAITTHREAD | 
| 1041 | T32GETRESOURCE | 1042 | T32FREERESOURCE | 
| 1043 | T32EXCEPTIONCALLBACK | 1044 | |
| 1045 | 1046 | ||
| 1047 | T32ISTARTTIMER | 1048 | |
| 1049 | T32QUERYMODFROMEIP | 1050 | |
| 1051 | 1052 | ||
| 1053 | 1054 | T32QUERYSYSSTATE | |
| 1055 | T32IREAD | 1056 | T32IWRITE | 
| 1057 | T32TMRQUERYFREQ | 1058 | T32TMRQUERYTIME | 
| 1059 | T32IMONREAD | 1060 | T32IMONWRITE | 
| 1061 | T32QUERYRESOURCESIZE | 1062 | |
| 1063 | T32SETSIGNALEXCEPTIONFOC | 1064 | |
| 1065 | 1066 | T32STOPTIMER | |
| 1067 | T32ASYNCTIMER | 1068 | |
| 1069 | 1070 | T32QUERYPROCTYPE | |
| 1071 | 1072 | ||
| 1073 | T32DLLTERM | 1074 | T32IRAISEEXCEPTION | 
| 1075 | T32ACKNOWLEDGESIGNALEXC | 1076 | T32QUERYDOSPROPERTY | 
| 1077 | 1078 | T32SETFILELOCKS | |
| 1079 | 1080 | T32KILLTHREAD | |
| 1081 | T32QUERYRASINFO | 1082 | T32DUMPPROCESS | 
| 1083 | 1084 | ||
| 1085 | 1086 | ||
| 1087 | T32PMPOSTEVENTSEM | 1088 | T32PMWAITEVENTSEM | 
| 1089 | T32PMREQUESTMUTEXSEM | 1090 | |
| 1091 | T32PM16SEMCHK | 1092 | T32ALLOCTHREADLOCALMEMORY | 
| 1093 | T32FREETHREADLOCALMEMORY | 1094 | T32SETEXTLIBPATH | 
| 1095 | T32QUERYEXTLIBPATH | 1096 | T32PM16SEMRST | 
| 1097 | T32VERIFYPIDTID | 1098 | T32SYSCTL | 
| 1099 | 1100 | ||
| 1101 | T32PERFSYSCALL | 1102 | |
| 1103 | T32PMR3WAITEVENTSEM | 1104 | T32PMR3POSTEVENTSEM | 
| 1105 | 1106 | ||
| 1107 | 1108 | T32SETFILELOCKSL | |
| 1109 | 1110 | T32ISETFILEPTRL | |
| 1111 | 1112 | ||
| 1113 | 1114 | ||
| 1115 | 1116 | T32ISETFILEPTR | |
| 1117 | 
DLLs Loaded
DOSCALL1.DLL, SESMGR.DLL
Alternative Versions
- The Phoenix OS/4 is aimed to try to generate an OS/2 kernel clone/replacement. It included replacements for the kernel, loader, the screen, clock, apic drivers and doscall1 library.