- Timestamp:
- Apr 5, 2000, 8:40:42 PM (25 years ago)
- Location:
- trunk/src/win32k
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/Makefile
r3147 r3321 1 1 ################################################################################ 2 # $Id: Makefile,v 1.4 0 2000-03-17 19:14:42bird Exp $2 # $Id: Makefile,v 1.41 2000-04-05 18:40:36 bird Exp $ 3 3 # 4 4 # Win32k makefile. … … 262 262 $@, $(WIN32KBIN)\probkrnl.map, \ 263 263 $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib; 264 $(CP) $@ .exe264 $(CP) $@ 265 265 266 266 extract.exe: $(WIN32KBIN)\extract.exe … … 276 276 link /NOD /MAP:FULL /CO /pmtype:vio \ 277 277 $(WIN32KOBJ)\probkrnl_e.obj + $(WIN32KOBJ)\vprntf16_e.obj, \ 278 $ (WIN32KOBJ)\$@, $(WIN32KBIN)\$(*B).map, \278 $@, $(WIN32KBIN)\$(*B).map, \ 279 279 $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib; 280 $(CP) $@ .exe280 $(CP) $@ 281 281 282 282 d32init.exe: $(WIN32KBIN)\d32init.exe … … 285 285 -Fo$(WIN32KOBJ)\$(*B).r3obj -Fe$@ -Fm$(WIN32KBIN)\$(*B).map \ 286 286 dev32\$(*B).c 287 $(CP) $@ .exe287 $(CP) $@ 288 288 289 289 -
trunk/src/win32k/dev16/SymDB.c
r2931 r3321 1 /* $Id: SymDB.c,v 1. 2 2000-02-27 12:37:52bird Exp $1 /* $Id: SymDB.c,v 1.3 2000-04-05 18:40:37 bird Exp $ 2 2 * 3 3 * Autogenerated kernel symbol database. … … 8 8 * 9 9 */ 10 10 11 #define INCL_NOPMAPI 11 12 #define INCL_NOBASEAPI 12 13 #include <os2.h> 13 14 #include "probkrnl.h" 14 15 KRNLDBENTRY aKrnlSymDB[] = 15 KRNLDBENTRY aKrnlSymDB[] = 16 16 { 17 17 { /* 14039RS.SYM */ 18 14039, 'R', T RUE, 15,18 14039, 'R', TYPE_SMP, 15, 19 19 { 20 20 {14, 0x00008390}, /* _ldrRead */ … … 38 38 }, 39 39 { /* 14039RU.SYM */ 40 14039, 'R', FALSE, 14,40 14039, 'R', TYPE_UNI, 14, 41 41 { 42 42 {13, 0x000070e4}, /* _ldrRead */ … … 54 54 {13, 0x00042dcb}, /* _VMGetOwner */ 55 55 {13, 0x00061dde}, /* g_tkExecPgm */ 56 { 9, 0x0000e640}, /* f_FuStrLenZ */ 57 { 9, 0x0000e5f6}, /* f_FuStrLen */ 58 { 9, 0x0000e738}, /* f_FuBuff */ 56 {9, 0x0000e640}, /* f_FuStrLenZ */ 57 {9, 0x0000e5f6}, /* f_FuStrLen */ 58 {9, 0x0000e738}, /* f_FuBuff */ 59 } 60 }, 61 { /* 14040R4.SYM */ 62 14040, 'R', TYPE_W4, 14, 63 { 64 {13, 0x000070dc}, /* _ldrRead */ 65 {13, 0x00057780}, /* _ldrOpen */ 66 {13, 0x00058a50}, /* _ldrClose */ 67 {13, 0x00058b35}, /* _LDRQAppType */ 68 {13, 0x00055010}, /* _ldrEnum32bitRelRecs */ 69 {13, 0x00004598}, /* _IOSftOpen */ 70 {13, 0x00004df4}, /* _IOSftClose */ 71 {13, 0x00004ecd}, /* _IOSftTransPath */ 72 {13, 0x00004a2c}, /* _IOSftReadAt */ 73 {13, 0x00004a33}, /* _IOSftWriteAt */ 74 {13, 0x00004fe6}, /* _SftFileSize */ 75 {13, 0x000535f0}, /* _VMAllocMem */ 76 {13, 0x00042ecb}, /* _VMGetOwner */ 77 {13, 0x00061dde}, /* g_tkExecPgm */ 78 {9, 0x0000e74c}, /* f_FuStrLenZ */ 79 {9, 0x0000e702}, /* f_FuStrLen */ 80 {9, 0x0000e845}, /* f_FuBuff */ 59 81 } 60 82 }, 61 83 { /* 8255RS.SYM */ 62 8255, 'R', T RUE, 15,84 8255, 'R', TYPE_SMP, 15, 63 85 { 64 86 {14, 0x0000b434}, /* _ldrRead */ … … 82 104 }, 83 105 { /* 8255RU.SYM */ 84 8255, 'R', FALSE, 13,106 8255, 'R', TYPE_UNI, 13, 85 107 { 86 108 {12, 0x0000932c}, /* _ldrRead */ … … 98 120 {12, 0x0001ccde}, /* _VMGetOwner */ 99 121 {12, 0x0004265e}, /* g_tkExecPgm */ 100 { 101 { 102 { 122 {9, 0x0000e124}, /* f_FuStrLenZ */ 123 {9, 0x0000e0da}, /* f_FuStrLen */ 124 {9, 0x0000e218}, /* f_FuBuff */ 103 125 } 104 126 }, 105 127 { /* 8256RS.SYM */ 106 8256, 'R', T RUE, 15,128 8256, 'R', TYPE_SMP, 15, 107 129 { 108 130 {14, 0x0000b434}, /* _ldrRead */ … … 126 148 }, 127 149 { /* 8256RU.SYM */ 128 8256, 'R', FALSE, 13,150 8256, 'R', TYPE_UNI, 13, 129 151 { 130 152 {12, 0x0000932c}, /* _ldrRead */ … … 142 164 {12, 0x0001ccde}, /* _VMGetOwner */ 143 165 {12, 0x00042632}, /* g_tkExecPgm */ 144 { 145 { 146 { 166 {9, 0x0000e124}, /* f_FuStrLenZ */ 167 {9, 0x0000e0da}, /* f_FuStrLen */ 168 {9, 0x0000e218}, /* f_FuBuff */ 147 169 } 148 170 }, 149 171 { /* 8257RS.SYM */ 150 8257, 'R', T RUE, 15,172 8257, 'R', TYPE_SMP, 15, 151 173 { 152 174 {14, 0x0000b434}, /* _ldrRead */ … … 170 192 }, 171 193 { /* 8257RU.SYM */ 172 8257, 'R', FALSE, 13,194 8257, 'R', TYPE_UNI, 13, 173 195 { 174 196 {12, 0x0000932c}, /* _ldrRead */ … … 186 208 {12, 0x0001ccd6}, /* _VMGetOwner */ 187 209 {12, 0x0004263e}, /* g_tkExecPgm */ 188 { 189 { 190 { 210 {9, 0x0000e124}, /* f_FuStrLenZ */ 211 {9, 0x0000e0da}, /* f_FuStrLen */ 212 {9, 0x0000e218}, /* f_FuBuff */ 191 213 } 192 214 }, 193 215 { /* 8258RS.SYM */ 194 8258, 'R', T RUE, 15,216 8258, 'R', TYPE_SMP, 15, 195 217 { 196 218 {14, 0x0000bdd0}, /* _ldrRead */ … … 214 236 }, 215 237 { /* 8258RU.SYM */ 216 8258, 'R', FALSE, 14,238 8258, 'R', TYPE_UNI, 14, 217 239 { 218 240 {13, 0x000091a4}, /* _ldrRead */ … … 230 252 {13, 0x0001d16a}, /* _VMGetOwner */ 231 253 {13, 0x00042d56}, /* g_tkExecPgm */ 232 { 233 { 234 { 254 {9, 0x0000d794}, /* f_FuStrLenZ */ 255 {9, 0x0000d74a}, /* f_FuStrLen */ 256 {9, 0x0000d888}, /* f_FuBuff */ 235 257 } 236 258 }, 237 259 { /* 8259RS.SYM */ 238 8259, 'R', T RUE, 15,260 8259, 'R', TYPE_SMP, 15, 239 261 { 240 262 {14, 0x0000bdd0}, /* _ldrRead */ … … 258 280 }, 259 281 { /* 8259RU.SYM */ 260 8259, 'R', FALSE, 14,282 8259, 'R', TYPE_UNI, 14, 261 283 { 262 284 {13, 0x00009234}, /* _ldrRead */ … … 274 296 {13, 0x0001d2de}, /* _VMGetOwner */ 275 297 {13, 0x00042de2}, /* g_tkExecPgm */ 276 { 277 { 278 { 298 {9, 0x0000d7a4}, /* f_FuStrLenZ */ 299 {9, 0x0000d75a}, /* f_FuStrLen */ 300 {9, 0x0000d898}, /* f_FuBuff */ 279 301 } 280 302 }, 281 303 { /* 8260RS.SYM */ 282 8260, 'R', T RUE, 15,304 8260, 'R', TYPE_SMP, 15, 283 305 { 284 306 {14, 0x0000bdec}, /* _ldrRead */ … … 302 324 }, 303 325 { /* 8260RU.SYM */ 304 8260, 'R', FALSE, 14,326 8260, 'R', TYPE_UNI, 14, 305 327 { 306 328 {13, 0x00009244}, /* _ldrRead */ … … 318 340 {13, 0x0001d2ee}, /* _VMGetOwner */ 319 341 {13, 0x00042e8a}, /* g_tkExecPgm */ 320 { 321 { 322 { 342 {9, 0x0000d7a4}, /* f_FuStrLenZ */ 343 {9, 0x0000d75a}, /* f_FuStrLen */ 344 {9, 0x0000d898}, /* f_FuBuff */ 323 345 } 324 346 }, 325 347 { /* 8261RS.SYM */ 326 8261, 'R', T RUE, 15,348 8261, 'R', TYPE_SMP, 15, 327 349 { 328 350 {14, 0x0000c1dc}, /* _ldrRead */ … … 346 368 }, 347 369 { /* 8261RU.SYM */ 348 8261, 'R', FALSE, 14,370 8261, 'R', TYPE_UNI, 14, 349 371 { 350 372 {13, 0x00009294}, /* _ldrRead */ … … 362 384 {13, 0x0001d2ee}, /* _VMGetOwner */ 363 385 {13, 0x0004315a}, /* g_tkExecPgm */ 364 { 365 { 366 { 386 {9, 0x0000d7d0}, /* f_FuStrLenZ */ 387 {9, 0x0000d786}, /* f_FuStrLen */ 388 {9, 0x0000d8c4}, /* f_FuBuff */ 367 389 } 368 390 }, 369 391 { /* 8262RS.SYM */ 370 8262, 'R', T RUE, 15,392 8262, 'R', TYPE_SMP, 15, 371 393 { 372 394 {14, 0x0000c1dc}, /* _ldrRead */ … … 390 412 }, 391 413 { /* 8262RU.SYM */ 392 8262, 'R', FALSE, 14,414 8262, 'R', TYPE_UNI, 14, 393 415 { 394 416 {13, 0x00009294}, /* _ldrRead */ … … 406 428 {13, 0x0001d20a}, /* _VMGetOwner */ 407 429 {13, 0x00043076}, /* g_tkExecPgm */ 408 { 409 { 410 { 430 {9, 0x0000d7d4}, /* f_FuStrLenZ */ 431 {9, 0x0000d78a}, /* f_FuStrLen */ 432 {9, 0x0000d8c8}, /* f_FuBuff */ 411 433 } 412 434 }, 413 435 { /* 8263RS.SYM */ 414 8263, 'R', T RUE, 15,436 8263, 'R', TYPE_SMP, 15, 415 437 { 416 438 {14, 0x0000c250}, /* _ldrRead */ … … 434 456 }, 435 457 { /* 8263RU.SYM */ 436 8263, 'R', FALSE, 14,458 8263, 'R', TYPE_UNI, 14, 437 459 { 438 460 {13, 0x00009308}, /* _ldrRead */ … … 450 472 {13, 0x0001d27e}, /* _VMGetOwner */ 451 473 {13, 0x0004321e}, /* g_tkExecPgm */ 452 { 453 { 454 { 474 {9, 0x0000d7d4}, /* f_FuStrLenZ */ 475 {9, 0x0000d78a}, /* f_FuStrLen */ 476 {9, 0x0000d8c8}, /* f_FuBuff */ 455 477 } 456 478 }, 457 479 { /* 8264RS.SYM */ 458 8264, 'R', T RUE, 15,480 8264, 'R', TYPE_SMP, 15, 459 481 { 460 482 {14, 0x0000c250}, /* _ldrRead */ … … 478 500 }, 479 501 { /* 8264RU.SYM */ 480 8264, 'R', FALSE, 14,502 8264, 'R', TYPE_UNI, 14, 481 503 { 482 504 {13, 0x0000930c}, /* _ldrRead */ … … 494 516 {13, 0x0001d3a6}, /* _VMGetOwner */ 495 517 {13, 0x00043432}, /* g_tkExecPgm */ 496 { 497 { 498 { 518 {9, 0x0000d7e0}, /* f_FuStrLenZ */ 519 {9, 0x0000d796}, /* f_FuStrLen */ 520 {9, 0x0000d8d4}, /* f_FuBuff */ 499 521 } 500 522 }, 501 523 { /* 8265RS.SYM */ 502 8265, 'R', T RUE, 15,524 8265, 'R', TYPE_SMP, 15, 503 525 { 504 526 {14, 0x0000c250}, /* _ldrRead */ … … 522 544 }, 523 545 { /* 8265RU.SYM */ 524 8265, 'R', FALSE, 14,546 8265, 'R', TYPE_UNI, 14, 525 547 { 526 548 {13, 0x0000930c}, /* _ldrRead */ … … 538 560 {13, 0x0001d2a6}, /* _VMGetOwner */ 539 561 {13, 0x00043352}, /* g_tkExecPgm */ 540 { 541 { 542 { 562 {9, 0x0000d830}, /* f_FuStrLenZ */ 563 {9, 0x0000d7e6}, /* f_FuStrLen */ 564 {9, 0x0000d924}, /* f_FuBuff */ 543 565 } 544 566 }, 545 567 { /* 9029RU.SYM */ 546 9029, 'R', FALSE, 13,568 9029, 'R', TYPE_UNI, 13, 547 569 { 548 570 {12, 0x00009404}, /* _ldrRead */ … … 560 582 {12, 0x0001c8f0}, /* _VMGetOwner */ 561 583 {12, 0x00041eb6}, /* g_tkExecPgm */ 562 { 563 { 564 { 584 {9, 0x0000e594}, /* f_FuStrLenZ */ 585 {9, 0x0000e54a}, /* f_FuStrLen */ 586 {9, 0x0000e688}, /* f_FuBuff */ 565 587 } 566 588 }, 567 589 { /* 9030RU.SYM */ 568 9030, 'R', FALSE, 14,590 9030, 'R', TYPE_UNI, 14, 569 591 { 570 592 {13, 0x00009784}, /* _ldrRead */ … … 582 604 {13, 0x0001d000}, /* _VMGetOwner */ 583 605 {13, 0x0004288a}, /* g_tkExecPgm */ 584 { 585 { 586 { 606 {9, 0x0000db08}, /* f_FuStrLenZ */ 607 {9, 0x0000dabe}, /* f_FuStrLen */ 608 {9, 0x0000dbfc}, /* f_FuBuff */ 587 609 } 588 610 }, 589 611 { /* 9031RU.SYM */ 590 9031, 'R', FALSE, 14,612 9031, 'R', TYPE_UNI, 14, 591 613 { 592 614 {13, 0x00009814}, /* _ldrRead */ … … 604 626 {13, 0x0001d09c}, /* _VMGetOwner */ 605 627 {13, 0x0004288a}, /* g_tkExecPgm */ 606 { 607 { 608 { 628 {9, 0x0000db08}, /* f_FuStrLenZ */ 629 {9, 0x0000dabe}, /* f_FuStrLen */ 630 {9, 0x0000dbfc}, /* f_FuBuff */ 609 631 } 610 632 }, 611 633 { /* 9032RU.SYM */ 612 9032, 'R', FALSE, 14,634 9032, 'R', TYPE_UNI, 14, 613 635 { 614 636 {13, 0x00009814}, /* _ldrRead */ … … 626 648 {13, 0x0001d09a}, /* _VMGetOwner */ 627 649 {13, 0x00042b3a}, /* g_tkExecPgm */ 628 { 629 { 630 { 650 {9, 0x0000db00}, /* f_FuStrLenZ */ 651 {9, 0x0000dab6}, /* f_FuStrLen */ 652 {9, 0x0000dbf4}, /* f_FuBuff */ 631 653 } 632 654 }, 633 655 { /* 9033RU.SYM */ 634 9033, 'R', FALSE, 14,656 9033, 'R', TYPE_UNI, 14, 635 657 { 636 658 {13, 0x00009824}, /* _ldrRead */ … … 648 670 {13, 0x0001d172}, /* _VMGetOwner */ 649 671 {13, 0x00042c8e}, /* g_tkExecPgm */ 650 { 651 { 652 { 672 {9, 0x0000db30}, /* f_FuStrLenZ */ 673 {9, 0x0000dae6}, /* f_FuStrLen */ 674 {9, 0x0000dc24}, /* f_FuBuff */ 653 675 } 654 676 }, 655 677 { /* 9034RU.SYM */ 656 9034, 'R', FALSE, 14,678 9034, 'R', TYPE_UNI, 14, 657 679 { 658 680 {13, 0x00009368}, /* _ldrRead */ … … 670 692 {13, 0x0001d2fa}, /* _VMGetOwner */ 671 693 {13, 0x00042fda}, /* g_tkExecPgm */ 672 { 673 { 674 { 694 {9, 0x0000db44}, /* f_FuStrLenZ */ 695 {9, 0x0000dafa}, /* f_FuStrLen */ 696 {9, 0x0000dc38}, /* f_FuBuff */ 675 697 } 676 698 }, 677 699 { /* 9035RU.SYM */ 678 9035, 'R', FALSE, 14,700 9035, 'R', TYPE_UNI, 14, 679 701 { 680 702 {13, 0x00009368}, /* _ldrRead */ … … 692 714 {13, 0x0001d436}, /* _VMGetOwner */ 693 715 {13, 0x0004324e}, /* g_tkExecPgm */ 694 { 695 { 696 { 716 {9, 0x0000db44}, /* f_FuStrLenZ */ 717 {9, 0x0000dafa}, /* f_FuStrLen */ 718 {9, 0x0000dc38}, /* f_FuBuff */ 697 719 } 698 720 }, 699 721 { /* 9036RU.SYM */ 700 9036, 'R', FALSE, 14,722 9036, 'R', TYPE_UNI, 14, 701 723 { 702 724 {13, 0x000093b4}, /* _ldrRead */ … … 714 736 {13, 0x0001d4ee}, /* _VMGetOwner */ 715 737 {13, 0x0004359e}, /* g_tkExecPgm */ 716 { 717 { 718 { 738 {9, 0x0000db94}, /* f_FuStrLenZ */ 739 {9, 0x0000db4a}, /* f_FuStrLen */ 740 {9, 0x0000dc88}, /* f_FuBuff */ 719 741 } 720 742 }, -
trunk/src/win32k/dev16/probkrnl.c
r2931 r3321 1 /* $Id: probkrnl.c,v 1.1 8 2000-02-27 12:37:53bird Exp $1 /* $Id: probkrnl.c,v 1.19 2000-04-05 18:40:38 bird Exp $ 2 2 * 3 3 * Description: Autoprobes the os2krnl file and os2krnl[*].sym files. … … 100 100 {FALSE, -1, 11, "_VMAllocMem", -1, -1, -1, -1, EPT_PROCIMPORT32}, /* 11 */ 101 101 {FALSE, -1, 11, "_VMGetOwner", -1, -1, -1, -1, EPT_PROCIMPORT32}, /* 12 */ 102 {FALSE, -1, 11, "g_tkExecPgm", -1, -1, -1, -1, EPT_PROC32}, /* 13 */ /* currently disabled! */102 {FALSE, -1, 11, "g_tkExecPgm", -1, -1, -1, -1, EPT_PROC32}, /* 13 */ 103 103 {FALSE, -1, 11, "f_FuStrLenZ", -1, -1, -1, -1, EPT_PROCIMPORT16}, /* 14 */ 104 104 {FALSE, -1, 10, "f_FuStrLen", -1, -1, -1, -1, EPT_PROCIMPORT16}, /* 14 */ … … 110 110 unsigned short usVerMajor = 0; 111 111 unsigned short usVerMinor = 0; 112 unsigned char f SMP = FALSE;112 unsigned char fchType = TYPE_UNI; /* TYPE_SMP, TYPE_UNI, TYPE_W4 */ 113 113 unsigned char fDebug = FALSE; 114 114 … … 170 170 /* Workers */ 171 171 static int LookupKrnlEntry(unsigned uBuild, unsigned char chType, 172 unsigned char f SMP, unsigned char cObjects);172 unsigned char fchType, unsigned char cObjects); 173 173 static int VerifyPrologs(void); 174 174 static int ProbeSymFile(const char *pszFilename); … … 492 492 * 1 if not found. 493 493 * Error code on error. 494 * @param uBuild Build level. 495 * @param chType 'A' all strict 496 * 'H' half strict 497 * 'R' retail 498 * @param fSMP TRUE: SMP 499 * FALSE: UNI 500 * @param cObjects Count of object in the running kernel. 494 * @param uBuild Build level. 495 * @param fchBldType 'A' all strict 496 * 'H' half strict 497 * 'R' retail 498 * @param fchType TYPE_SMP, TYPE_UNI, TYPE_W4 499 * @param cObjects Count of object in the running kernel. 501 500 * @sketch Loop thru the table. 502 501 * @status completely implemented. 503 502 * @author knut st. osmundsen (knut.stange.osmundsen@pmsc.no) 504 503 */ 505 static int LookupKrnlEntry(unsigned uBuild, unsigned char chType, unsigned char fSMP, unsigned char cObjects)504 static int LookupKrnlEntry(unsigned uBuild, unsigned char fchBldType, unsigned char fchType, unsigned char cObjects) 506 505 { 507 506 int i; … … 512 511 for (i = 0; aKrnlSymDB[i].usBuild != 0; i++) 513 512 { 514 if (aKrnlSymDB[i].usBuild == uBuild515 && aKrnlSymDB[i]. chType == chType516 && aKrnlSymDB[i].f SMP == fSMP517 && aKrnlSymDB[i].cObjects == cObjects)513 if (aKrnlSymDB[i].usBuild == uBuild 514 && aKrnlSymDB[i].fchBldType == fchBldType 515 && aKrnlSymDB[i].fchType == fchType 516 && aKrnlSymDB[i].cObjects == cObjects) 518 517 { /* found matching entry! */ 519 518 int j; … … 867 866 /* Set the exported parameters */ 868 867 usBuild = KrnlInfo.usBuild; 869 f SMP = KrnlInfo.fSMP;868 fchType = KrnlInfo.fchType; 870 869 fDebug = KrnlInfo.fDebug; 871 870 cObjects = KrnlInfo.cObjects; … … 891 890 #else 892 891 #ifndef EXTRACT 893 APIRET 892 APIRET rc; 894 893 895 894 /*--------------*/ … … 1082 1081 */ 1083 1082 if (fDebug || 1084 (rc = LookupKrnlEntry((unsigned short)usBuild, 'R', f SMP, cObjects)) != 01083 (rc = LookupKrnlEntry((unsigned short)usBuild, 'R', fchType, cObjects)) != 0 1085 1084 ) 1086 1085 { … … 1388 1387 || !(pszFilename[cch-7] >= '0' && pszFilename[cch-7] <= '9') 1389 1388 || !(pszFilename[cch-6] == 'A' || pszFilename[cch-6] == 'H' || pszFilename[cch-6] == 'R') 1390 || !(pszFilename[cch-5] == 'S' || pszFilename[cch-5] == 'U' )1389 || !(pszFilename[cch-5] == 'S' || pszFilename[cch-5] == 'U' || pszFilename[cch-5] == '4') 1391 1390 ) 1392 1391 { … … 1421 1420 " {\n", 1422 1421 pszFilename, 1423 cch - 6, &pszFilename[0], /* build number */ 1424 pszFilename[cch - 6], /* Type, A=astrict, H=halfstrict, R=Retail */ 1425 pszFilename[cch - 5] == 'S' ? "TRUE" : "FALSE", /* UNI: TRUE SMP: FALSE */ 1422 cch - 6, &pszFilename[0], /* build number */ 1423 pszFilename[cch - 6], /* Type, A=astrict, H=halfstrict, R=Retail */ 1424 pszFilename[cch - 5] == 'S' ? /* UNI: TYPE_UNI SMP: TYPE_SMP W4: TYPE_W4 */ 1425 "TYPE_SMP" : pszFilename[cch - 5] == '4' ? "TYPE_W4" : "TYPE_UNI", 1426 1426 aImportTab[0].iObject + 1); /* ASSUMES that DOSCODE32 is the last object. */ 1427 1427 … … 1457 1457 { 1458 1458 APIRET rc; 1459 1460 1461 /* 1462 * Set paKrnlOTEs to point to an zeroed array of OTEs. 1463 */ 1464 static KRNLINFO KrnlInfo = {0}; 1465 paKrnlOTEs = &KrnlInfo.aObjects[0]; 1459 1466 1460 1467 if (argc > 1) … … 1488 1495 int i; 1489 1496 1490 printf16("/* $Id: probkrnl.c,v 1.1 8 2000-02-27 12:37:53bird Exp $\n"1497 printf16("/* $Id: probkrnl.c,v 1.19 2000-04-05 18:40:38 bird Exp $\n" 1491 1498 "*\n" 1492 1499 "* Autogenerated kernel symbol database.\n" -
trunk/src/win32k/dev32/d32init.c
r2898 r3321 1 /* $Id: d32init.c,v 1.1 6 2000-02-25 18:15:03bird Exp $1 /* $Id: d32init.c,v 1.17 2000-04-05 18:40:40 bird Exp $ 2 2 * 3 3 * d32init.c - 32-bits init routines. … … 488 488 /* Check if build number seems valid. */ 489 489 if ( !(pKrnlInfo->usBuild >= 8254 && pKrnlInfo->usBuild < 8383) /* Warp 3 fp 32 -> fp 60 */ 490 && !(pKrnlInfo->usBuild >= 9023 && pKrnlInfo->usBuild < 9063) /* Warp 4 GA -> fp 40*/490 && !(pKrnlInfo->usBuild >= 9023 && pKrnlInfo->usBuild <= 9036) /* Warp 4 GA -> fp 12 */ 491 491 && !(pKrnlInfo->usBuild >= 14039 && pKrnlInfo->usBuild < 14080) /* Warp 4.5 GA -> fp 40 */ 492 492 ) … … 497 497 } 498 498 499 /* If this is an Aurora or Warp 3 kernel there is more info! */500 pKrnlInfo->fSMP = (char)(*psz != ','499 /* If this is an Aurora/Warp 4.5 or Warp 3 kernel there is more info! */ 500 if (*psz != ',' 501 501 && ( (psz[1] == '_' && (psz[2] == 'S' || psz[2] == 's')) /* F_SMP */ 502 || (psz[2] == '_' && (psz[1] == 'S' || psz[1] == 's'))));/* _SMP */ 502 || (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's')) /* _SMP */ 503 ) 504 ) 505 pKrnlInfo->fchType = TYPE_SMP; 506 else 507 if (*psz != ',' 508 || (psz[0] == '_' 509 && (psz[1] == 'W' || psz[1] == 'w') && psz[2] == '4') /* _W4 */ 510 ) 511 pKrnlInfo->fchType = TYPE_W4; 512 else 513 pKrnlInfo->fchType = TYPE_UNI; 514 503 515 504 516 /* Check if its a debug kernel (look for DEBUG at start of object 3-5) */ … … 523 535 524 536 /* Display info */ 525 kprintf(("GetOTEs32: info summary: Build %d, f SMP=%d, fDebug=%d\n",526 pKrnlInfo->usBuild, pKrnlInfo->f SMP, pKrnlInfo->fDebug));537 kprintf(("GetOTEs32: info summary: Build %d, fchType=%d, fDebug=%d\n", 538 pKrnlInfo->usBuild, pKrnlInfo->fchType, pKrnlInfo->fDebug)); 527 539 528 540 /* Break out */ -
trunk/src/win32k/include/dev1632.h
r2898 r3321 1 /* $Id: dev1632.h,v 1. 4 2000-02-25 18:15:04bird Exp $1 /* $Id: dev1632.h,v 1.5 2000-04-05 18:40:41 bird Exp $ 2 2 * dev1632.h - Common header file for 16-bit and 32-bit C 3 3 * … … 52 52 unsigned char cObjects; 53 53 unsigned char fDebug; 54 unsigned char f SMP;54 unsigned char fchType; /* TYPE_SMP, TYPE_UNI, TYPE_W4 */ 55 55 unsigned short usBuild; 56 56 OTE aObjects[MAXKRNLOBJECTS]; -
trunk/src/win32k/include/probkrnl.h
r2898 r3321 1 /* $Id: probkrnl.h,v 1.1 1 2000-02-25 18:15:06bird Exp $1 /* $Id: probkrnl.h,v 1.12 2000-04-05 18:40:42 bird Exp $ 2 2 * 3 3 * Include file for ProbKrnl. … … 41 41 #define EPT_VARIMPORT16 (EPT_VARIMPORT | EPT_16BIT) 42 42 43 /* Kernel type: SMP/UNI/W4 */ 44 #define TYPE_UNI 0 /* Any UNI processor kernel except Warp 4 fp13 and above. */ 45 #define TYPE_SMP 1 /* SMP Warp3 Adv. or Warp 4.5 SMP */ 46 #define TYPE_W4 2 /* Warp4 fp13 and above. */ 47 43 48 44 49 /******************************************************************************* … … 68 73 { 69 74 unsigned short usBuild; /* Build number */ 70 unsigned char chType;/* R, H, A */71 unsigned char f SMP; /* TRUE / FALSE*/75 unsigned char fchBldType; /* R, H, A */ 76 unsigned char fchType; /* TYPE_SMP, TYPE_UNI, TYPE_W4 */ 72 77 unsigned char cObjects; /* Count of objects */ 73 78 struct
Note:
See TracChangeset
for help on using the changeset viewer.