Ignore:
Timestamp:
Jan 22, 2000, 7:21:03 PM (26 years ago)
Author:
bird
Message:

Temporary backup checkin.

File:
1 edited

Legend:

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

    r1989 r2501  
    1 /* $Id: probkrnl.c,v 1.5 1999-12-06 16:18:25 bird Exp $
     1/* $Id: probkrnl.c,v 1.6 2000-01-22 18:20:56 bird Exp $
    22 *
    33 * Description:   Autoprobes the os2krnl file and os2krnl[*].sym files.
     
    2020 *                6. finished.
    2121 *
    22  * Copyright (c) 1998-1999 knut st. osmundsen
     22 * Copyright (c) 1998-2000 knut st. osmundsen
    2323 *
    2424 * Project Odin Software License can be found in LICENSE.TXT
     
    8080 * kernel data - !only valid during init!
    8181 */
     82
     83/*
     84 * aProcTab defines the imported and overloaded OS/2 kernel functions.
     85 * IMPORTANT: aProcTab has a sibling array in d32init.c, aulProc, which must
     86 *            match entry by entry. Adding/removing/shuffling aProcTab, aulProc
     87 *            has to be updated immediately!
     88 */
    8289PROCS aProcTab[NUMBER_OF_PROCS] =
    83 {/* iFound     cchName          offObject     fType */
    84  /*      iObject      achName         ulAddress     */
    85     {FALSE, -1,  8, "_ldrRead",     -1,  -1, EPT_PROC},
    86     {FALSE, -1,  8, "_ldrOpen",     -1,  -1, EPT_PROC},
    87     {FALSE, -1,  9, "_ldrClose",    -1,  -1, EPT_PROC},
    88     {FALSE, -1, 12, "_LDRQAppType", -1,  -1, EPT_PROC},
     90{/* iFound     cchName                  offObject     fType */
     91 /*      iObject      achName                 ulAddress     */
     92    {FALSE, -1,  8, "_ldrRead",             -1,  -1, EPT_PROC},        /* 0 */
     93    {FALSE, -1,  8, "_ldrOpen",             -1,  -1, EPT_PROC},        /* 1 */
     94    {FALSE, -1,  9, "_ldrClose",            -1,  -1, EPT_PROC},        /* 2 */
     95    {FALSE, -1, 12, "_LDRQAppType",         -1,  -1, EPT_PROC},        /* 3 */
     96    {FALSE, -1, 20, "_ldrEnum32bitRelRecs", -1,  -1, EPT_PROC},        /* 4 */
     97
     98    {FALSE, -1, 10, "_IOSftOpen",           -1,  -1, EPT_PROCIMPORT},  /* 5 */
     99    {FALSE, -1, 11, "_IOSftClose",          -1,  -1, EPT_PROCIMPORT},  /* 6 */
     100    {FALSE, -1, 15, "_IOSftTransPath",      -1,  -1, EPT_PROCIMPORT},  /* 7 */
     101    {FALSE, -1, 12, "_IOSftReadAt",         -1,  -1, EPT_PROCIMPORT},  /* 8 */
     102    {FALSE, -1, 13, "_IOSftWriteAt",        -1,  -1, EPT_PROCIMPORT}   /* 9 */
    89103};
    90104
    91 unsigned long int   ulBuild      = 0;
    92 unsigned short      usVerMajor   = 0;
    93 unsigned short      usVerMinor   = 0;
     105unsigned long int   ulBuild          = 0;
     106unsigned short      usVerMajor       = 0;
     107unsigned short      usVerMinor       = 0;
    94108
    95109
     
    97111 * privat data
    98112 */
    99 static int      fQuiet = 0;
    100 static char     szUsrOS2Krnl[50] = {0};
    101 static char     szOS2Krnl[]      = {"c:\\os2krnl"};
    102 
    103 static char     szUsrSym[50]     = {0};
    104 static char    *apszSym[]        =
     113static int          fQuiet          = 0;
     114static char         szUsrOS2Krnl[50] = {0};
     115static char         szOS2Krnl[]      = {"c:\\os2krnl"};
     116
     117static char         szUsrSym[50]     = {0};
     118static char *       apszSym[]        =
    105119{
    106120    {"c:\\os2krnl.sym"},                              /* usual for debugkernel */
Note: See TracChangeset for help on using the changeset viewer.