Changeset 8175 for trunk/src/win32k/kKrnlLib/include/options.h
- Timestamp:
- Apr 1, 2002, 2:48:41 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/kKrnlLib/include/options.h
r8147 r8175 1 /* $Id: options.h,v 1. 1 2002-03-31 19:32:54 bird Exp $1 /* $Id: options.h,v 1.2 2002-04-01 12:45:14 bird Exp $ 2 2 * 3 3 * Options. … … 77 77 OUTPUT_COM2, /* usCom */ \ 78 78 TRUE, /* fLogging */ \ 79 KF_UNI, /* fKernel */ \80 ~0UL, /* ulBuild */ \81 (unsigned short)~0, /* usVerMajor */ \82 (unsigned short)~0, /* usVerMinor */ \83 79 CB_SWP_INIT, /* cbSwpHeapInit */ \ 84 80 CB_SWP_MAX, /* cbSwpHeapMax */ \ … … 86 82 CB_RES_MAX} /* cbResHeapMax */ 87 83 88 #define isSMPKernel() ( options.fKernel & KF_SMP)89 #define isUNIKernel() (!( options.fKernel & KF_SMP))84 #define isSMPKernel() (fKernel & KF_SMP) 85 #define isUNIKernel() (!(fKernel & KF_SMP)) 90 86 91 #define isHighMemorySupported() ( options.ulBuild >= 14000 || isSMPKernel())87 #define isHighMemorySupported() (ulKernelBuild >= 14000 || isSMPKernel()) 92 88 93 89 /* INC */ … … 107 103 USHORT fLogging; /* Logging. */ 108 104 109 /** @cat kernel selection */110 ULONG fKernel; /* Smp or uni kernel. */111 ULONG ulBuild; /* Kernel build. */112 USHORT usVerMajor; /* OS/2 major ver - 20 */113 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */114 115 105 /** @cat Options affecting the heap. */ 116 106 ULONG cbSwpHeapInit; /* Initial heapsize. */ … … 125 115 *******************************************************************************/ 126 116 /* NOINC */ 127 extern struct kKLOptions DATA16_GLOBAL options; /* defined in d16globals.c */ 117 extern struct kKLOptions DATA16_GLOBAL options; /* defined in d16Globl.c */ 118 extern ULONG DATA16_GLOBAL fKernel; 119 extern ULONG DATA16_GLOBAL ulKernelBuild; 120 extern USHORT DATA16_GLOBAL usVerMajor; 121 extern USHORT DATA16_GLOBAL usVerMinor; 122 128 123 #ifdef RING0 129 124 #if defined(__IBMC__) || defined(__IBMCPP__) 130 #pragma map(options, "_options") 125 #pragma map(options, "_options") 126 #pragma map(fKernel, "_fKernel") 127 #pragma map(ulKernelBuild, "_ulKernelBuild") 128 #pragma map(usVerMajor, "_usVerMajor") 129 #pragma map(usVerMinor, "_usVerMinor") 131 130 #endif 132 131 #endif 132 133 133 /* INC */ 134 134
Note:
See TracChangeset
for help on using the changeset viewer.