Changeset 4164 for trunk/src/win32k/include/options.h
- Timestamp:
- Sep 2, 2000, 11:08:23 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/options.h
r2898 r4164 1 /* $Id: options.h,v 1.1 0 2000-02-25 18:15:06bird Exp $1 /* $Id: options.h,v 1.11 2000-09-02 21:08:03 bird Exp $ 2 2 * 3 3 * Options. … … 16 16 *******************************************************************************/ 17 17 /* fKernel */ 18 #define KF_UNI 0x00000000UL 19 #define KF_SMP 0x00000001UL 18 #define KF_UNI 0x0000 19 #define KF_SMP 0x0001 20 #define KF_W4 0x0002 21 #define KF_DEBUG 0x1000 22 #define KF_HAS_DEBUGTYPE 0x2000 23 #define KF_ALLSTRICT 0x3000 24 #define KF_HALFSTRICT 0x7000 20 25 21 26 /* fPE */ … … 33 38 34 39 /* default heapsizes */ 35 #define CB_SWP_INIT ( 1024*512) /* 512KB */36 #define CB_SWP_MAX ( 1024*1024*16) /* 16MB */37 #define CB_RES_INIT ( 1024*256) /* 256KB */38 #define CB_RES_MAX ( 1024*1024*10) /* 10MB */40 #define CB_SWP_INIT ((unsigned long)1024*512) /* 512KB */ 41 #define CB_SWP_MAX ((unsigned long)1024*1024*16) /* 16MB */ 42 #define CB_RES_INIT ((unsigned long)1024*256) /* 256KB */ 43 #define CB_RES_MAX ((unsigned long)1024*1024*10) /* 10MB */ 39 44 40 45 /* default assignments */ … … 47 52 (unsigned short)~0, /* usVerMajor */ \ 48 53 (unsigned short)~0, /* usVerMinor */ \ 49 FLAGS_PE_ PE2LX, /* fPE */ \54 FLAGS_PE_MIXED, /* fPE */ \ 50 55 INFOLEVEL_QUIET, /* ulInfoLevel */ \ 51 56 FALSE, /* fElf */ \ 52 TRUE, /* fScript */ \ 57 TRUE, /* fUNIXScript */ \ 58 TRUE, /* fREXXScript */ \ 59 TRUE, /* fJava */ \ 53 60 FALSE, /* fNoLoader */ \ 54 61 CB_SWP_INIT, /* cbSwpHeapInit */ \ … … 57 64 CB_RES_MAX} /* cbResHeapMax */ 58 65 66 #define isAnyLoaderEnabled() (!options.fNoLoader && \ 67 (isPELoaderEnabled() || isELFEnabled() || isUNIXScriptEnabled() || isREXXScriptEnabled() || isJAVAEnabled())) 68 #define isPELoaderEnabled() (options.fPE != FLAGS_PE_NOT) 69 #define isPELoaderDisabled() (options.fPE == FLAGS_PE_NOT) 70 #define isPe2LxLoaderEnabled() (options.fPE == FLAGS_PE_PE2LX) 71 #define isMixedPeLoaderEnabled() (options.fPE == FLAGS_PE_MIXED) 72 73 #define isELFDisabled() (!options.fElf) 74 #define isELFEnabled() (options.fElf) 75 #define isUNIXScriptDisabled() (!options.fUNIXScript) 76 #define isUNIXScriptEnabled() (options.fUNIXScript) 77 #define isREXXScriptDisabled() (!options.fREXXScript) 78 #define isREXXScriptEnabled() (options.fREXXScript) 79 #define isJAVADisabled() (!options.fJava) 80 #define isJAVAEnabled() (options.fJava) 81 82 #define isSMPKernel() (options.fKernel & KF_SMP) 83 #define isUNIKernel() !(options.fKernel & KF_SMP) 59 84 60 85 … … 86 111 ULONG fElf; /* Elf flags. */ 87 112 88 /** @cat Options affecting the script executables */89 ULONG f Script; /* Script flags. */113 /** @cat Options affecting the UNIX script executables */ 114 ULONG fUNIXScript; /* UNIX script flags. */ 90 115 91 /** @cat Options affecting the script executables */ 92 ULONG fNoLoader; /* No loader stuff. */ 116 /** @cat Options affecting the REXX script executables */ 117 ULONG fREXXScript; /* REXX script flags. */ 118 119 /** @cat Options affecting the JAVA executables */ 120 ULONG fJava; /* Java flags. */ 121 122 /** @cat Options affecting the executables */ 123 ULONG fNoLoader; /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */ 93 124 94 125 /** @cat Options affecting the heap. */ … … 100 131 #pragma pack() 101 132 102 103 133 /******************************************************************************* 104 134 * Global Variables * 105 135 *******************************************************************************/ 106 extern struct options options; /* defined in d32globals.c */136 extern struct options DATA16_GLOBAL options; /* defined in d16globals.c */ 107 137 #if defined(__IBMC__) || defined(__IBMCPP__) 108 138 #pragma map( options , "_options" )
Note:
See TracChangeset
for help on using the changeset viewer.