Changeset 1467 for trunk/src/win32k/include/options.h
- Timestamp:
- Oct 27, 1999, 4:03:01 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/options.h
r847 r1467 1 /* $Id: options.h,v 1.1 1999-09-06 02:19:59 bird Exp $ 1 /* $Id: options.h,v 1.2 1999-10-27 02:02:57 bird Exp $ 2 * 2 3 * Options. 3 4 * 4 5 * Copyright (c) 1998-1999 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 5 8 * 6 9 */ … … 9 12 #define _options_h_ 10 13 14 /******************************************************************************* 15 * Defined Constants And Macros * 16 *******************************************************************************/ 11 17 /* fKernel */ 12 18 #define KF_UNI 0x00000000UL 13 19 #define KF_SMP 0x00000001UL 14 20 21 /* Set defaults. */ 22 #define SET_OPTIONS_TO_DEFAULT(o) \ 23 o.fQuiet = 0; \ 24 o.usCom = OUTPUT_COM2; \ 25 o.fLogging = 0; \ 26 o.ulBuild = ~0; \ 27 o.fKernel = KF_UNI; \ 28 o.usVerMajor = ~0; \ 29 o.usVerMinor = ~0; 15 30 31 32 /******************************************************************************* 33 * Structures and Typedefs * 34 *******************************************************************************/ 16 35 /** Option struct */ 17 36 struct options … … 39 58 /** @cat Options affecting the generated LX executable */ 40 59 //******************************************************/ 41 int noExeTIBFix; /* ask win32k for initstuff (win32k only) */ 42 int AlignSections; /* don't align sections */ 43 //int TIBFixObject; /* make a TIBFix object - AlignSections = 0 */ 44 45 int lxoffset; /* if true use the fixed LXOFFSET if not ulPEOffset */ 46 int ourstub; /* our DOS stub or the one from the PE-file */ 60 /* none yet... */ 47 61 }; 48 62 49 63 50 extern struct options options; 51 52 #define SET_OPTIONS_TO_DEFAULT(o) \ 53 o.fQuiet = 0; \ 54 o.usCom = OUTPUT_COM2; \ 55 o.fLogging = 0; \ 56 o.ulBuild = 8259; \ 57 o.fKernel = KF_UNI; \ 58 o.usVerMajor = 20; \ 59 o.usVerMinor = 30; \ 60 o.noExeTIBFix = 0; \ 61 o.AlignSections = 1; \ 62 o.lxoffset = 0; \ 63 o.ourstub = 0 64 65 66 #define SET_OPTIONS_WIN32K(o) \ 67 SET_OPTIONS_TO_DEFAULT(o) 68 69 #define SET_OPTIONS_WIN32K_SAFE(o) \ 70 SET_OPTIONS_TO_DEFAULT(o); \ 71 o.noExeTIBFix = 0; \ 72 o.AlignSections = 1 73 74 75 #define SET_OPTIONS_PE2LX(o) \ 76 SET_OPTIONS_TO_DEFAULT(o); \ 77 o.fLogging = 1; \ 78 o.noExeTIBFix = 0; \ 79 o.AlignSections = 1; \ 80 o.lxoffset = 0; \ 81 o.ourstub = 0 64 /******************************************************************************* 65 * Global Variables * 66 *******************************************************************************/ 67 extern struct options options; /* defined in d32globals.c */ 82 68 83 69 #endif
Note:
See TracChangeset
for help on using the changeset viewer.