Changeset 6853 for trunk/src


Ignore:
Timestamp:
Sep 28, 2001, 9:43:38 AM (24 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/src/win32k/include
Files:
2 edited

Legend:

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

    r6003 r6853  
    1 /* $Id: options.h,v 1.22 2001-06-14 01:06:47 bird Exp $
     1/* $Id: options.h,v 1.23 2001-09-28 07:43:38 sandervl Exp $
    22 *
    33 * Options.
     
    9898            TRUE,                   /* fJava         */     \
    9999            FALSE,                  /* fNoLoader     */     \
     100            FALSE,                  /* fSkipFixups   */     \
     101            NULL,                   /* pszCustomDll  */     \
     102            NULL,                   /* pszCustomExports  */ \
    100103            TRUE,                   /* fDllFixes     */     \
    101104            TRUE,                   /* fExeFixes     */     \
     
    126129#define isJAVAEnabled()             (options.fJava)
    127130
     131#define areFixupsEnabled()          (!options.fSkipFixups)
     132#define areFixupsDisabled()         (options.fSkipFixups)
     133
     134#define hasCustomDll()              (options.pszCustomDll != NULL)
     135#define hasCustomExports()          (options.pszCustomExports != NULL)
     136
    128137#define isSMPKernel()               (options.fKernel & KF_SMP)
    129138#define isUNIKernel()               (!(options.fKernel & KF_SMP))
     
    185194    ULONG       fNoLoader;              /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */
    186195
     196    ULONG       fSkipFixups;
     197    PSZ         pszCustomDll;           /* pointer to custom odin dll name */
     198    PSZ         pszCustomExports;       /* pointer to custom export table */
     199
    187200    /** @cat Options affecting the behaviour changes in the OS/2 loader */
    188201    ULONG       fDllFixes;              /* Enables the long DLL name and non .DLL extention fixes. */
  • trunk/src/win32k/include/pe2lx.h

    r6222 r6853  
    1 /* $Id: pe2lx.h,v 1.13 2001-07-08 02:59:21 bird Exp $
     1/* $Id: pe2lx.h,v 1.14 2001-09-28 07:43:38 sandervl Exp $
    22 *
    33 * Pe2Lx class declarations. Ring 0 and Ring 3
     
    110110    ULONG       addPageFixupEntry(BOOL fLast = FALSE);
    111111    ULONG       add32OffsetFixup(WORD offSource, ULONG ulTarget);
     112    #ifndef RING0
     113    ULONG       add32OrdImportFixup(WORD offSource, ULONG ulModuleOrdinal, ULONG ulFunctionOrdinal, PSZ pszModuleName);
     114    ULONG       add32NameImportFixup(WORD offSource, ULONG ulModuleOrdinal, PCSZ pszFnName, PSZ pszModuleName);
     115    #else
    112116    ULONG       add32OrdImportFixup(WORD offSource, ULONG ulModuleOrdinal, ULONG ulFunctionOrdinal);
    113117    ULONG       add32NameImportFixup(WORD offSource, ULONG ulModuleOrdinal, PCSZ pszFnName);
     118    #endif
    114119    ULONG       addModule(PCSZ pszModuleName, PULONG pulModuleOrdinal);
    115120    ULONG       addImportFunctionName(PCSZ pszFnName, PULONG poffFnName);
Note: See TracChangeset for help on using the changeset viewer.