Ignore:
Timestamp:
Feb 2, 2001, 9:41:31 AM (25 years ago)
Author:
bird
Message:

Added new option for the All-in-one-object fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/include/options.h

    r5000 r5051  
    1 /* $Id: options.h,v 1.18 2001-01-21 07:54:37 bird Exp $
     1/* $Id: options.h,v 1.19 2001-02-02 08:39:52 bird Exp $
    22 *
    33 * Options.
     
    3939#define FLAGS_PE_MIXED      0x00000003UL
    4040
     41/* fPEOneObject */
     42#define FLAGS_PEOO_DISABLED 0x00000000UL
     43#define FLAGS_PEOO_ENABLED  0x00000001UL
     44#define FLAGS_PEOO_FORCED   0x00000002UL
     45
    4146/* ulInfoLevel */
    4247#define INFOLEVEL_QUIET     0x00000000UL
     
    6368            (unsigned short)~0,     /* usVerMinor    */     \
    6469            FLAGS_PE_PE,            /* fPE           */     \
     70            FLAGS_PEOO_FORCED,      /* fPEOneObject  */     \
    6571            INFOLEVEL_QUIET,        /* ulInfoLevel   */     \
    6672            FALSE,                  /* fElf          */     \
     
    8389#define isPe2LxLoaderEnabled()      (options.fPE == FLAGS_PE_PE2LX)
    8490#define isMixedPeLoaderEnabled()    (options.fPE == FLAGS_PE_MIXED)
     91#define isPEOneObjectEnabled()      (options.fPEOneObject == FLAGS_PEOO_ENABLED)
     92#define isPEOneObjectDisabled()     (options.fPEOneObject == FLAGS_PEOO_DISABLED)
     93#define isPEOneObjectForced()       (options.fPEOneObject == FLAGS_PEOO_FORCED)
    8594
    8695#define isELFDisabled()             (!options.fElf)
     
    129138    /** @cat Options affecting the generated LX executables */
    130139    ULONG       fPE;                    /* Flags set the type of conversion. */
     140    ULONG       fPEOneObject;           /* All in one object. */
    131141    ULONG       ulInfoLevel;            /* Pe2Lx InfoLevel. */
    132142
     
    165175extern struct options DATA16_GLOBAL options;    /* defined in d16globals.c */
    166176extern char   szWin32kIni[160];                 /* defined in d16globals.c */
     177#ifdef RING0
    167178#if defined(__IBMC__) || defined(__IBMCPP__)
    168179    #pragma map( options , "_options"  )
    169180    #pragma map( szWin32kIni, "_szWin32kIni" )
     181#endif
    170182#endif
    171183/* INC */
Note: See TracChangeset for help on using the changeset viewer.