- Timestamp:
- May 3, 2000, 12:46:07 PM (25 years ago)
- Location:
- trunk/src/win32k
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/dev32/d32init.c
r3411 r3485 1 /* $Id: d32init.c,v 1.1 8 2000-04-17 01:56:48bird Exp $1 /* $Id: d32init.c,v 1.19 2000-05-03 10:46:06 bird Exp $ 2 2 * 3 3 * d32init.c - 32-bits init routines. … … 20 20 #define kprintf2(a) (void)0 21 21 #endif 22 23 22 24 23 #define INCL_DOSERRORS … … 498 497 499 498 /* 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 */ 504 501 ) 505 502 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 */ 511 504 pKrnlInfo->fchType = TYPE_W4; 512 505 else … … 519 512 while (j < 5) 520 513 { 521 522 514 /* There should be no iopl object preceding the debugger data object. */ 523 515 if ((pKrnlOTE[j].ote_flags & OBJIOPL) != 0) -
trunk/src/win32k/include/macros.h
r2500 r3485 1 /* $Id: macros.h,v 1. 1 2000-01-22 16:34:24bird Exp $1 /* $Id: macros.h,v 1.2 2000-05-03 10:46:07 bird Exp $ 2 2 * 3 3 * Common macros for Win32k/Elf. … … 24 24 #define ALIGN(a, alignment) (((a) + (alignment - 1UL)) & ~(alignment - 1UL)) 25 25 26 27 /* 28 * Makes an unsigned long from 4 (unsigned or signed) chars. 29 */ 30 #define MAKEULONG4(ch1, ch2, ch3, ch4) \ 31 ((ULONG)(MAKEULONG(MAKEUSHORT(ch1, ch2), MAKEUSHORT(ch3, ch4)))) 32 26 33 #endif
Note:
See TracChangeset
for help on using the changeset viewer.