Ignore:
Timestamp:
Nov 10, 1999, 2:45:38 AM (26 years ago)
Author:
bird
Message:

Some bugsfixes - Yield is disabled.
Added parameters.
Correcte moduleheaders.
Introduced a new base class for virtual lx modules + some elf sketches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/ldr/ldr.cpp

    r1535 r1678  
    1 /* $Id: ldr.cpp,v 1.5 1999-10-31 23:57:05 bird Exp $
     1/* $Id: ldr.cpp,v 1.6 1999-11-10 01:45:36 bird Exp $
    22 *
    33 * ldr.cpp - Loader helpers.
    44 *
    55 * Copyright (c)  1999 knut  St.  osmundsen
     6 *
     7 * Project Odin Software License can be found in LICENSE.TXT
    68 *
    79 */
     
    2931#include <exe386.h>
    3032#include "OS2Krnl.h"
     33#include "ModuleBase.h"
    3134#include "pe2lx.h"
    3235#include "avl.h"
     
    125128 * @param     pMTE    Pointer to MTE. NULL is valid.
    126129 * @param     fFlags  Type flags for the fFlags field in the node.
    127  * @param     pvData  Pointer to data.
     130 * @param     pModObj Pointer to module object.
    128131 * @sketch    DEBUG: check that the module doesn't exists and parameter check.
    129132 *            (try) Allocate a new node. (return errorcode on failure)
     
    135138 * @author    knut st. osmundsen
    136139 */
    137 ULONG       addModule(SFN hFile, PMTE pMTE, ULONG fFlags, void *pvData)
     140ULONG       addModule(SFN hFile, PMTE pMTE, ULONG fFlags, ModuleBase *pModObj)
    138141{
    139142    PMODULE pMod;
     
    166169    pMod->pMTE = pMTE;
    167170    pMod->fFlags = fFlags;
    168     pMod->Data.pv = pvData;
     171    pMod->Data.pModule = pModObj;
    169172
    170173    /* insert the module node into the tree(s) */
     
    248251    pMTERoot = NULL;
    249252
    250     /* Pe2Lx logging. */
    251     Pe2Lx::ulInfoLevel = options.ulInfoLevel;
     253    /* ModuleBase logging. */
     254    ModuleBase::ulInfoLevel = options.ulInfoLevel;
    252255
    253256    return rc;
Note: See TracChangeset for help on using the changeset viewer.