Changeset 4972 for trunk/src/win32k/dev32/d32init.c
- Timestamp:
- Jan 19, 2001, 3:28:53 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/dev32/d32init.c
r4828 r4972 1 /* $Id: d32init.c,v 1.2 8 2000-12-17 22:45:50bird Exp $1 /* $Id: d32init.c,v 1.29 2001-01-19 02:28:07 bird Exp $ 2 2 * 3 3 * d32init.c - 32-bits init routines. … … 335 335 kprintf(("\tCom port no.%03xh\n", options.usCom)); 336 336 337 kprintf(("\tKernel: v%d.%d build %d 337 kprintf(("\tKernel: v%d.%d build %d%c type ", 338 338 options.usVerMajor, 339 339 options.usVerMinor, 340 options.ulBuild)); 340 options.ulBuild, 341 (options.fKernel & KF_REV_MASK) 342 ? ((options.fKernel & KF_REV_MASK) >> KF_REV_SHIFT) + 'a'-1 343 : ' ' 344 )); 341 345 if (options.fKernel & KF_SMP) 342 346 kprintf(("SMP ")); … … 546 550 if ( !(pKrnlInfo->ulBuild >= 8254 && pKrnlInfo->ulBuild < 8383) /* Warp 3 fp 32 -> fp 60 */ 547 551 && !(pKrnlInfo->ulBuild >= 9023 && pKrnlInfo->ulBuild <= 9036) /* Warp 4 GA -> fp 12 */ 548 && !(pKrnlInfo->ulBuild >= 14039 && pKrnlInfo->ulBuild < 14 080) /* Warp 4.5 GA -> fp 40 */552 && !(pKrnlInfo->ulBuild >= 14039 && pKrnlInfo->ulBuild < 14100) /* Warp 4.5 GA -> fp 40 */ 549 553 && !(pKrnlInfo->ulBuild >= 6600 && pKrnlInfo->ulBuild <= 6678) /* Warp 2.1x fix?? (just for fun!) */ 550 554 ) … … 555 559 } 556 560 561 /* Check for any revision flag */ 562 pKrnlInfo->fKernel = 0; 563 if (*psz == 'A' || *psz == 'a') 564 { 565 pKrnlInfo->fKernel = (*psz - (*psz >= 'a' ? 'a'-1 : 'A'-1)) << KF_REV_SHIFT; 566 psz++; 567 } 568 if (*psz == 'F' || *psz == 'f' || *psz == ',') /* These are ignored! */ 569 *psz++; 570 557 571 /* If this is an Aurora/Warp 4.5 or Warp 3 kernel there is more info! */ 558 if ((psz[0] != ',' && psz[1] == '_' && (psz[2] == 'S' || psz[2] == 's')) /* F_SMP */ 559 || (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's')) /* _SMP */ 560 ) 561 pKrnlInfo->fKernel = KF_SMP; 572 if (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's')) /* _SMP */ 573 pKrnlInfo->fKernel |= KF_SMP; 562 574 else 563 575 if (*psz != ',' 564 576 && ( (psz[0] == '_' && psz[1] == 'W' && psz[2] == '4') /* _W4 */ 565 || (psz[1] == '_' && psz[2] == 'W' && psz[3] == '4') /* A_W4 */566 577 || (psz[0] == '_' && psz[1] == 'U' && psz[2] == 'N' && psz[3] == 'I' && psz[4] == '4') /* _UNI4 */ 567 || (psz[1] == '_' && psz[2] == 'U' && psz[3] == 'N' && psz[4] == 'I' && psz[5] == '4') /* A_UNI4 */568 578 ) 569 579 ) 570 pKrnlInfo->fKernel = KF_W4 | KF_UNI;580 pKrnlInfo->fKernel |= KF_W4 | KF_UNI; 571 581 else 572 pKrnlInfo->fKernel = KF_UNI;582 pKrnlInfo->fKernel |= KF_UNI; 573 583 574 584 … … 592 602 593 603 /* Display info */ 594 kprintf(("GetKernelInfo32: info summary: Build %d, fKernel= %d\n",604 kprintf(("GetKernelInfo32: info summary: Build %d, fKernel=0x%x\n", 595 605 pKrnlInfo->ulBuild, pKrnlInfo->fKernel)); 596 606
Note:
See TracChangeset
for help on using the changeset viewer.