Changeset 2511 for trunk/src/win32k/include/options.h
- Timestamp:
- Jan 24, 2000, 7:19:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/options.h
r2501 r2511 1 /* $Id: options.h,v 1. 5 2000-01-22 18:21:01bird Exp $1 /* $Id: options.h,v 1.6 2000-01-24 18:18:59 bird Exp $ 2 2 * 3 3 * Options. … … 32 32 #define INFOLEVEL_INFOALL 0x00000004UL 33 33 34 /* default heapsizes */ 35 #define CB_SWP_INIT (1024*512) 36 #define CB_SWP_MAX (1024*1024*16) 37 #define CB_RES_INIT (1024*256) 38 #define CB_RES_MAX (1024*1024*10) 39 40 34 41 /* Set defaults. */ 35 #define SET_OPTIONS_TO_DEFAULT(o) 36 o.fQuiet = FALSE;\37 o.usCom = OUTPUT_COM2;\38 o.fLogging = FALSE;\39 o.fKernel = KF_UNI;\40 o.ulBuild = ~0UL;\41 o.usVerMajor = (unsigned short)~0;\42 o.usVerMinor = (unsigned short)~0;\43 o.fPE = FLAGS_PE_PE2LX;\44 o.ulInfoLevel = INFOLEVEL_QUIET;\45 o.fElf = FALSE;\46 o.fScript = FALSE;\47 o.fNoLoader = FALSE;\48 o.cb Heap = 0x100000; /* 1MB */\49 o.cb HeapMax = 0x100000; /* 1MB */\50 o.cb HeapResident = 0x10000; /* 64KB */\51 o.cb HeapMaxResident = 0x1000; /* 4KB */ \42 #define SET_OPTIONS_TO_DEFAULT(o) \ 43 o.fQuiet = FALSE; \ 44 o.usCom = OUTPUT_COM2; \ 45 o.fLogging = FALSE; \ 46 o.fKernel = KF_UNI; \ 47 o.ulBuild = ~0UL; \ 48 o.usVerMajor = (unsigned short)~0; \ 49 o.usVerMinor = (unsigned short)~0; \ 50 o.fPE = FLAGS_PE_PE2LX; \ 51 o.ulInfoLevel = INFOLEVEL_QUIET; \ 52 o.fElf = FALSE; \ 53 o.fScript = FALSE; \ 54 o.fNoLoader = FALSE; \ 55 o.cbSwpHeapInit = CB_SWP_INIT; \ 56 o.cbSwpHeapMax = CB_SWP_MAX; \ 57 o.cbResHeapInit = CB_RES_INIT; \ 58 o.cbResHeapMax = CB_RES_MAX; 52 59 53 60 … … 59 66 { 60 67 /** @cat misc */ 61 BOOL fQuiet; /* Quiet initialization. */68 BOOL fQuiet; /* Quiet initialization. */ 62 69 63 70 /** @cat logging options */ 64 USHORT usCom; /* Output port no. */65 BOOL fLogging; /* Logging. */71 USHORT usCom; /* Output port no. */ 72 BOOL fLogging; /* Logging. */ 66 73 67 74 /** @cat kernel selection */ 68 ULONG fKernel; /* Smp or uni kernel. */69 ULONG ulBuild; /* Kernel build. */70 USHORT usVerMajor; /* OS/2 major ver - 20 */71 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */75 ULONG fKernel; /* Smp or uni kernel. */ 76 ULONG ulBuild; /* Kernel build. */ 77 USHORT usVerMajor; /* OS/2 major ver - 20 */ 78 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */ 72 79 73 80 /** @cat Options affecting the generated LX executables */ 74 BOOL fPE; /* Flags set the type of conversion. */75 ULONG ulInfoLevel; /* Pe2Lx InfoLevel. */81 BOOL fPE; /* Flags set the type of conversion. */ 82 ULONG ulInfoLevel; /* Pe2Lx InfoLevel. */ 76 83 77 84 /** @cat Options affecting the generated ELF executables */ 78 BOOL fElf; /* Elf flags. */85 BOOL fElf; /* Elf flags. */ 79 86 80 87 /** @cat Options affecting the script executables */ 81 BOOL fScript; /* Script flags. */88 BOOL fScript; /* Script flags. */ 82 89 83 90 /** @cat Options affecting the script executables */ 84 BOOL fNoLoader; /* No loader stuff. */91 BOOL fNoLoader; /* No loader stuff. */ 85 92 86 93 /** @cat Options affecting the heap. */ 87 ULONG cb Heap;/* Initial heapsize. */88 ULONG cb HeapMax;/* Maximum heapsize. */89 ULONG cb HeapResident;/* Initial residentheapsize. */90 ULONG cb HeapMaxResident;/* Maxiumem residentheapsize. */94 ULONG cbSwpHeapInit; /* Initial heapsize. */ 95 ULONG cbSwpHeapMax; /* Maximum heapsize. */ 96 ULONG cbResHeapInit; /* Initial residentheapsize. */ 97 ULONG cbResHeapMax; /* Maxiumem residentheapsize. */ 91 98 }; 92 99 … … 95 102 * Global Variables * 96 103 *******************************************************************************/ 97 extern struct options options; /* defined in d32globals.c */104 extern struct options options; /* defined in d32globals.c */ 98 105 99 106 #endif
Note:
See TracChangeset
for help on using the changeset viewer.