Ignore:
Timestamp:
May 3, 2000, 12:46:07 PM (25 years ago)
Author:
bird
Message:

Changed and hopefully corrected code identifying the kernel type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev32/d32init.c

    r3411 r3485  
    1 /* $Id: d32init.c,v 1.18 2000-04-17 01:56:48 bird Exp $
     1/* $Id: d32init.c,v 1.19 2000-05-03 10:46:06 bird Exp $
    22 *
    33 * d32init.c - 32-bits init routines.
     
    2020    #define kprintf2(a) (void)0
    2121#endif
    22 
    2322
    2423#define INCL_DOSERRORS
     
    498497
    499498                                /* If this is an Aurora/Warp 4.5 or Warp 3 kernel there is more info! */
    500                                 if (*psz != ','
    501                                     && (   (psz[1] == '_' && (psz[2] == 'S' || psz[2] == 's'))  /* F_SMP */
    502                                         || (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's'))  /* _SMP  */
    503                                        )
     499                                if ((psz[0] != ',' && psz[1] == '_' && (psz[2] == 'S' || psz[2] == 's'))  /* F_SMP */
     500                                    || (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's'))  /* _SMP  */
    504501                                    )
    505502                                    pKrnlInfo->fchType = TYPE_SMP;
    506                                 else
    507                                     if (*psz != ','
    508                                             || (psz[0] == '_'
    509                                                 && (psz[1] == 'W' || psz[1] == 'w') && psz[2] == '4')  /* _W4  */
    510                                         )
     503                                else if (psz[0] == '_' && psz[1] == 'W' && psz[2] == '4')    /* _W4  */
    511504                                    pKrnlInfo->fchType = TYPE_W4;
    512505                                else
     
    519512                                while (j < 5)
    520513                                {
    521 
    522514                                    /* There should be no iopl object preceding the debugger data object. */
    523515                                    if ((pKrnlOTE[j].ote_flags & OBJIOPL) != 0)
Note: See TracChangeset for help on using the changeset viewer.