Ignore:
Timestamp:
Feb 25, 2000, 7:19:24 PM (26 years ago)
Author:
bird
Message:

Symbol Database is implemented.
No scanning of the os2krnl file, the loaded image is now scaned to determin
which build, debug/retail and smp/uni.
And yet some more enhanchments like 16-bit logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/dev16/d16strat.c

    r2877 r2898  
    1 /* $Id: d16strat.c,v 1.7 2000-02-23 20:10:19 bird Exp $
     1/* $Id: d16strat.c,v 1.8 2000-02-25 18:15:02 bird Exp $
    22 *
    33 * d16strat.c - 16-bit strategy routine, device headers, device_helper (ptr)
     
    6464};
    6565
    66 /* Note: All global variables must be initialized!  *
    67  *       Uninitialized variables ends up in DATA32. */
    68 PFN     Device_Help = NULL;
    69 ULONG   TKSSBase16  = 0;
    70 USHORT  R0FlatCS16  = 0;
    71 USHORT  R0FlatDS16  = 0;
    72 BOOL    fInitTime   = TRUE;
    7366
    7467
     
    129122{
    130123    USHORT rc;
     124
    131125    if (pRp->Category == D16_IOCTL_CAT)
    132126    {
    133127        switch (pRp->Function)
    134128        {
     129            /*
     130             * This is the IOCtl which does the R0-initiation of the device driver.
     131             * Only available at init time...
     132             */
    135133            case D16_IOCTL_RING0INIT:
    136134                if (fInitTime)
     
    142140                break;
    143141
    144             case D16_IOCTL_GETKRNLOTES:
     142            /*
     143             * This is the IOCtl collects info of the running kernel.
     144             * Only available at init time.
     145             *
     146             * Since this IOCtl is issued before R0-Init is done, we'll have to
     147             * init TKSSBase for both 16-bit and 32-bit code and be a bit carefull.
     148             */
     149            case D16_IOCTL_GETKRNLINFO:
    145150                if (fInitTime)
    146151                {
     
    151156                                          &ulLin) != NO_ERROR)
    152157                        return STATUS_DONE | STERR | ERROR_I24_INVALID_PARAMETER;
    153                     return CallGetOTEs32(ulLin);
     158                    return CallGetKernelInfo32(ulLin);
    154159                }
    155160                break;
    156161
    157             case D16_IOCTL_VERIFYPROCTAB:
     162            /*
     163             * This is the IOCtl verifies the data in the ImportTab.
     164             * Only available at init time.
     165             *
     166             * Since this IOCtl is issued before R0-Init is done, we'll have to
     167             * init TKSSBase for both 16-bit and 32-bit code and be a bit carefull.
     168             */
     169            case D16_IOCTL_VERIFYIMPORTTAB:
    158170                if (fInitTime)
    159171                {
Note: See TracChangeset for help on using the changeset viewer.