OS2KRNL

From EDM2
Jump to: navigation, search

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.

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.

Articles