Changeset 6841 for branches/splittup/src/win32k/include/options.h
- Timestamp:
- Sep 27, 2001, 5:08:35 AM (24 years ago)
- File:
-
- 1 edited
-
branches/splittup/src/win32k/include/options.h (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/splittup/src/win32k/include/options.h
r6003 r6841 1 /* $Id: options.h,v 1.22 2001-06-14 01:06:47bird Exp $1 /* $Id: options.h,v 1.22.2.1 2001-09-27 03:08:19 bird Exp $ 2 2 * 3 3 * Options. … … 17 17 * Defined Constants And Macros * 18 18 *******************************************************************************/ 19 /* fKernel */20 #define KF_UNI 0x000021 #define KF_SMP 0x000122 #define KF_W4 0x000223 #define KF_REV_MASK 0x0FF024 #define KF_REV_SHIFT 425 #define KF_REV_0 0x000026 #define KF_REV_A 0x001027 #define KF_REV_B 0x002028 #define KF_REV_C 0x003029 #define KF_REV_D 0x004030 #define KF_REV_E 0x005031 #define KF_REV_F 0x006032 #define KF_REV_G 0x007033 #define KF_REV_H 0x008034 #define KF_REV_I 0x009035 #define KF_REV_J 0x00a036 #define KF_REV_K 0x00b037 #define KF_REV_L 0x00c038 #define KF_REV_M 0x00d039 #define KF_REV_N 0x00e040 #define KF_REV_O 0x00f041 #define KF_REV_P 0x010042 #define KF_REV_Q 0x011043 #define KF_REV_R 0x012044 #define KF_REV_S 0x013045 #define KF_REV_T 0x014046 #define KF_REV_U 0x015047 #define KF_REV_V 0x016048 #define KF_REV_W 0x017049 #define KF_REV_X 0x018050 #define KF_REV_Y 0x019051 #define KF_REV_Z 0x01a052 #define KF_REV_ECS 0x090053 #define KF_DEBUG 0x100054 #define KF_HAS_DEBUGTYPE 0x200055 #define KF_ALLSTRICT 0x300056 #define KF_HALFSTRICT 0x700057 58 19 /* fPE */ 59 20 #define FLAGS_PE_NOT 0x00000000UL … … 74 35 #define INFOLEVEL_INFOALL 0x00000004UL 75 36 76 /* default heapsizes */77 #define CB_SWP_INIT ((unsigned long)1024*512) /* 512KB */78 #define CB_SWP_MAX ((unsigned long)1024*1024*16) /* 16MB */79 #define CB_RES_INIT ((unsigned long)1024*256) /* 256KB */80 #define CB_RES_MAX ((unsigned long)1024*1024*10) /* 10MB */81 82 37 /* NOINC */ 83 38 /* default assignments */ 84 39 #define DEFAULT_OPTION_ASSIGMENTS \ 85 40 {FALSE, /* fQuiet */ \ 86 OUTPUT_COM2, /* usCom */ \87 41 FALSE, /* fLogging */ \ 88 KF_UNI, /* fKernel */ \89 ~0UL, /* ulBuild */ \90 (unsigned short)~0, /* usVerMajor */ \91 (unsigned short)~0, /* usVerMinor */ \92 42 FLAGS_PE_PE, /* fPE */ \ 93 43 FLAGS_PEOO_FORCED, /* fPEOneObject */ \ … … 101 51 TRUE, /* fExeFixes */ \ 102 52 FALSE, /* fForcePreload */ \ 103 FALSE, /* fApiEnh */ \ 104 CB_SWP_INIT, /* cbSwpHeapInit */ \ 105 CB_SWP_MAX, /* cbSwpHeapMax */ \ 106 CB_RES_INIT, /* cbResHeapInit */ \ 107 CB_RES_MAX} /* cbResHeapMax */ 53 FALSE /* fApiEnh */ \ 54 } 108 55 109 56 #define isAnyLoaderEnabled() (!options.fNoLoader && \ … … 126 73 #define isJAVAEnabled() (options.fJava) 127 74 128 #define isSMPKernel() (options.fKernel & KF_SMP)129 #define isUNIKernel() (!(options.fKernel & KF_SMP))130 131 #define isHighMemorySupported() (options.ulBuild >= 14000 || isSMPKernel())132 133 75 #define isDllFixesEnabled() (options.fDllFixes) 134 76 #define isDllFixesDisabled() (!options.fDllFixes) … … 150 92 /** Option struct */ 151 93 #pragma pack(4) 152 struct options94 struct Win32kOptions 153 95 { 154 96 /** @cat misc */ … … 156 98 157 99 /** @cat logging options */ 158 USHORT usCom; /* Output port no. */159 100 USHORT fLogging; /* Logging. */ 160 161 /** @cat kernel selection */162 ULONG fKernel; /* Smp or uni kernel. */163 ULONG ulBuild; /* Kernel build. */164 USHORT usVerMajor; /* OS/2 major ver - 20 */165 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */166 101 167 102 /** @cat Options affecting the generated LX executables */ … … 190 125 ULONG fForcePreload; /* Forces the loader to preload executable images. Handy for ICAT Ring-3 debugging. */ 191 126 ULONG fApiEnh; /* Enables the API enhancements */ 192 193 /** @cat Options affecting the heap. */194 ULONG cbSwpHeapInit; /* Initial heapsize. */195 ULONG cbSwpHeapMax; /* Maximum heapsize. */196 ULONG cbResHeapInit; /* Initial residentheapsize. */197 ULONG cbResHeapMax; /* Maxiumem residentheapsize. */198 127 }; 199 128 #pragma pack() … … 203 132 *******************************************************************************/ 204 133 /* NOINC */ 205 extern struct options DATA16_GLOBAL options; /* defined in d16globals.c */134 extern struct Win32kOptions DATA16_GLOBAL options; /* defined in d16globals.c */ 206 135 extern char szWin32kIni[160]; /* defined in d16globals.c */ 207 136 #ifdef RING0
Note:
See TracChangeset
for help on using the changeset viewer.
