Changeset 4774 for trunk/src


Ignore:
Timestamp:
Dec 11, 2000, 7:22:15 AM (25 years ago)
Author:
bird
Message:

Added option fDllFixes.

Location:
trunk/src/win32k
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev32/d32init.c

    r4347 r4774  
    1 /* $Id: d32init.c,v 1.25 2000-10-01 02:58:15 bird Exp $
     1/* $Id: d32init.c,v 1.26 2000-12-11 06:22:14 bird Exp $
    22 *
    33 * d32init.c - 32-bits init routines.
     
    151151                break;
    152152
     153            case 'd':
     154            case 'D':
     155                pszTmp2 = strpbrk(pszTmp, ":=/- ");
     156                if (pszTmp2 != NULL
     157                    && (pszTmp2[1] == 'N' ||pszTmp2[1] == 'n' || pszTmp2[1] == 'D' || pszTmp2[1] == 'd')
     158                    )
     159                    options.fDllFixes = FALSE;
     160                else
     161                    options.fDllFixes = TRUE;
     162                break;
     163
    153164            case 'e':
    154165            case 'E':/* ELF */
     
    619630 * @param     bModRM  ModR/M byte.
    620631 * @status    completely implemented.
    621  * @author    knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     632 * @author    knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    622633 */
    623634int ModR_M_32bit(char bModRM)
     
    642653 * @param     bModRM  ModR/M byte.
    643654 * @status    completely implemented.
    644  * @author    knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     655 * @author    knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    645656 */
    646657int ModR_M_16bit(char bModRM)
     
    14261437 * @returns Pointer to the fake kernel MTE.
    14271438 * @status  completely implemented.
    1428  * @author  knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     1439 * @author  knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    14291440 */
    14301441PMTE GetOS2KrnlMTETst(void)
     
    14461457 * @param   void
    14471458 * @status  completely implemented.
    1448  * @author  knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
     1459 * @author  knut st. osmundsen (knut.stange.osmundsen@mynd.no)
    14491460 * @remark  Called before the aImportTab array is used/verified.
    14501461 */
  • trunk/src/win32k/include/options.h

    r4307 r4774  
    1 /* $Id: options.h,v 1.12 2000-09-22 09:22:37 bird Exp $
     1/* $Id: options.h,v 1.13 2000-12-11 06:22:14 bird Exp $
    22 *
    33 * Options.
     
    6262            TRUE,                   /* fJava         */     \
    6363            FALSE,                  /* fNoLoader     */     \
     64            TRUE,                   /* fDllFixes     */     \
    6465            CB_SWP_INIT,            /* cbSwpHeapInit */     \
    6566            CB_SWP_MAX,             /* cbSwpHeapMax  */     \
     
    8485
    8586#define isSMPKernel()               (options.fKernel & KF_SMP)
    86 #define isUNIKernel()               !(options.fKernel & KF_SMP)
     87#define isUNIKernel()               (!(options.fKernel & KF_SMP))
     88
     89#define isDllFixesEnabled()         (options.fDllFixes)
     90#define isDllFixesDisabled()        (!options.fDllFixes)
     91
    8792/* INC */
    8893
     
    126131    ULONG       fNoLoader;              /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */
    127132
     133    /** @cat Options affecting the behaviour changes in the OS/2 loader */
     134    ULONG       fDllFixes;              /* Enables the long DLL name and non .DLL extention fixes. */
     135
    128136    /** @cat Options affecting the heap. */
    129137    ULONG       cbSwpHeapInit;          /* Initial heapsize. */
  • trunk/src/win32k/k32/k32QueryOptionsStatus.cpp

    r4185 r4774  
    1 /* $Id: k32QueryOptionsStatus.cpp,v 1.3 2000-09-04 16:40:50 bird Exp $
     1/* $Id: k32QueryOptionsStatus.cpp,v 1.4 2000-12-11 06:22:15 bird Exp $
    22 *
    33 * k32QueryOptionsStatus  - Queries the options and/or the status of
     
    135135        TmpOptions.fJava        = options.fJava;
    136136        TmpOptions.fNoLoader    = options.fNoLoader;
     137        TmpOptions.fDllFixes    = options.fDllFixes;
    137138        TmpOptions.cbSwpHeapMax = options.cbSwpHeapMax;
    138139        TmpOptions.cbResHeapMax = options.cbResHeapMax;
  • trunk/src/win32k/k32/k32SetOptions.cpp

    r4307 r4774  
    1 /* $Id: k32SetOptions.cpp,v 1.3 2000-09-22 09:22:38 bird Exp $
     1/* $Id: k32SetOptions.cpp,v 1.4 2000-12-11 06:22:15 bird Exp $
    22 *
    33 * k32SetOptions - Sets the changable options of win32k.sys the options.
     
    126126        if (TmpOptions.fREXXScript > 1)
    127127            return ERROR_INVALID_PARAMETER;
     128        if (TmpOptions.fDllFixes > 1)
     129            return ERROR_INVALID_PARAMETER;
    128130        if (TmpOptions.cbSwpHeapMax > (32768*1024) || TmpOptions.cbSwpHeapMax < options.cbSwpHeapInit)
    129131            return ERROR_INVALID_PARAMETER;
     
    154156        options.fJava       = TmpOptions.fJava;         /* Java flags. */
    155157        options.fNoLoader   = TmpOptions.fNoLoader;     /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */
     158        options.fDllFixes   = TmpOptions.fDllFixes;     /* Enables the long DLL name and non .DLL extention fixes. */
    156159
    157160        options.cbSwpHeapMax = TmpOptions.cbSwpHeapMax; /* Maximum heapsize. */
Note: See TracChangeset for help on using the changeset viewer.