Changeset 3321 for trunk/src


Ignore:
Timestamp:
Apr 5, 2000, 8:40:42 PM (25 years ago)
Author:
bird
Message:

Support for Warp 4 Fixpack 13 in symbol database.

Location:
trunk/src/win32k
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/Makefile

    r3147 r3321  
    11################################################################################
    2 # $Id: Makefile,v 1.40 2000-03-17 19:14:42 bird Exp $
     2# $Id: Makefile,v 1.41 2000-04-05 18:40:36 bird Exp $
    33#
    44# Win32k makefile.
     
    262262        $@, $(WIN32KBIN)\probkrnl.map, \
    263263        $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
    264     $(CP) $@.exe
     264    $(CP) $@
    265265
    266266extract.exe: $(WIN32KBIN)\extract.exe
     
    276276    link /NOD /MAP:FULL /CO /pmtype:vio \
    277277        $(WIN32KOBJ)\probkrnl_e.obj + $(WIN32KOBJ)\vprntf16_e.obj, \
    278         $(WIN32KOBJ)\$@, $(WIN32KBIN)\$(*B).map, \
     278        $@, $(WIN32KBIN)\$(*B).map, \
    279279        $(TOOLKIT)\lib\os2286.lib + $(MSCPATH)\lib\clibcep.lib;
    280     $(CP) $@.exe
     280    $(CP) $@
    281281
    282282d32init.exe: $(WIN32KBIN)\d32init.exe
     
    285285        -Fo$(WIN32KOBJ)\$(*B).r3obj -Fe$@ -Fm$(WIN32KBIN)\$(*B).map \
    286286        dev32\$(*B).c
    287     $(CP) $@.exe
     287    $(CP) $@
    288288
    289289
  • trunk/src/win32k/dev16/SymDB.c

    r2931 r3321  
    1 /* $Id: SymDB.c,v 1.2 2000-02-27 12:37:52 bird Exp $
     1/* $Id: SymDB.c,v 1.3 2000-04-05 18:40:37 bird Exp $
    22*
    33* Autogenerated kernel symbol database.
     
    88*
    99*/
     10
    1011#define INCL_NOPMAPI
    1112#define INCL_NOBASEAPI
    1213#include <os2.h>
    1314#include "probkrnl.h"
    14 
    15 KRNLDBENTRY aKrnlSymDB[] =
     15KRNLDBENTRY aKrnlSymDB[] =
    1616{
    1717    { /* 14039RS.SYM */
    18         14039, 'R', TRUE, 15,
     18        14039, 'R', TYPE_SMP, 15,
    1919        {
    2020            {14, 0x00008390}, /* _ldrRead */
     
    3838    },
    3939    { /* 14039RU.SYM */
    40         14039, 'R', FALSE, 14,
     40        14039, 'R', TYPE_UNI, 14,
    4141        {
    4242            {13, 0x000070e4}, /* _ldrRead */
     
    5454            {13, 0x00042dcb}, /* _VMGetOwner */
    5555            {13, 0x00061dde}, /* g_tkExecPgm */
    56             { 9, 0x0000e640}, /* f_FuStrLenZ */
    57             { 9, 0x0000e5f6}, /* f_FuStrLen */
    58             { 9, 0x0000e738}, /* f_FuBuff */
     56            {9, 0x0000e640}, /* f_FuStrLenZ */
     57            {9, 0x0000e5f6}, /* f_FuStrLen */
     58            {9, 0x0000e738}, /* f_FuBuff */
     59        }
     60    },
     61    { /* 14040R4.SYM */
     62        14040, 'R', TYPE_W4, 14,
     63        {
     64            {13, 0x000070dc}, /* _ldrRead */
     65            {13, 0x00057780}, /* _ldrOpen */
     66            {13, 0x00058a50}, /* _ldrClose */
     67            {13, 0x00058b35}, /* _LDRQAppType */
     68            {13, 0x00055010}, /* _ldrEnum32bitRelRecs */
     69            {13, 0x00004598}, /* _IOSftOpen */
     70            {13, 0x00004df4}, /* _IOSftClose */
     71            {13, 0x00004ecd}, /* _IOSftTransPath */
     72            {13, 0x00004a2c}, /* _IOSftReadAt */
     73            {13, 0x00004a33}, /* _IOSftWriteAt */
     74            {13, 0x00004fe6}, /* _SftFileSize */
     75            {13, 0x000535f0}, /* _VMAllocMem */
     76            {13, 0x00042ecb}, /* _VMGetOwner */
     77            {13, 0x00061dde}, /* g_tkExecPgm */
     78            {9, 0x0000e74c}, /* f_FuStrLenZ */
     79            {9, 0x0000e702}, /* f_FuStrLen */
     80            {9, 0x0000e845}, /* f_FuBuff */
    5981        }
    6082    },
    6183    { /* 8255RS.SYM */
    62         8255, 'R', TRUE, 15,
     84        8255, 'R', TYPE_SMP, 15,
    6385        {
    6486            {14, 0x0000b434}, /* _ldrRead */
     
    82104    },
    83105    { /* 8255RU.SYM */
    84         8255, 'R', FALSE, 13,
     106        8255, 'R', TYPE_UNI, 13,
    85107        {
    86108            {12, 0x0000932c}, /* _ldrRead */
     
    98120            {12, 0x0001ccde}, /* _VMGetOwner */
    99121            {12, 0x0004265e}, /* g_tkExecPgm */
    100             { 9, 0x0000e124}, /* f_FuStrLenZ */
    101             { 9, 0x0000e0da}, /* f_FuStrLen */
    102             { 9, 0x0000e218}, /* f_FuBuff */
     122            {9, 0x0000e124}, /* f_FuStrLenZ */
     123            {9, 0x0000e0da}, /* f_FuStrLen */
     124            {9, 0x0000e218}, /* f_FuBuff */
    103125        }
    104126    },
    105127    { /* 8256RS.SYM */
    106         8256, 'R', TRUE, 15,
     128        8256, 'R', TYPE_SMP, 15,
    107129        {
    108130            {14, 0x0000b434}, /* _ldrRead */
     
    126148    },
    127149    { /* 8256RU.SYM */
    128         8256, 'R', FALSE, 13,
     150        8256, 'R', TYPE_UNI, 13,
    129151        {
    130152            {12, 0x0000932c}, /* _ldrRead */
     
    142164            {12, 0x0001ccde}, /* _VMGetOwner */
    143165            {12, 0x00042632}, /* g_tkExecPgm */
    144             { 9, 0x0000e124}, /* f_FuStrLenZ */
    145             { 9, 0x0000e0da}, /* f_FuStrLen */
    146             { 9, 0x0000e218}, /* f_FuBuff */
     166            {9, 0x0000e124}, /* f_FuStrLenZ */
     167            {9, 0x0000e0da}, /* f_FuStrLen */
     168            {9, 0x0000e218}, /* f_FuBuff */
    147169        }
    148170    },
    149171    { /* 8257RS.SYM */
    150         8257, 'R', TRUE, 15,
     172        8257, 'R', TYPE_SMP, 15,
    151173        {
    152174            {14, 0x0000b434}, /* _ldrRead */
     
    170192    },
    171193    { /* 8257RU.SYM */
    172         8257, 'R', FALSE, 13,
     194        8257, 'R', TYPE_UNI, 13,
    173195        {
    174196            {12, 0x0000932c}, /* _ldrRead */
     
    186208            {12, 0x0001ccd6}, /* _VMGetOwner */
    187209            {12, 0x0004263e}, /* g_tkExecPgm */
    188             { 9, 0x0000e124}, /* f_FuStrLenZ */
    189             { 9, 0x0000e0da}, /* f_FuStrLen */
    190             { 9, 0x0000e218}, /* f_FuBuff */
     210            {9, 0x0000e124}, /* f_FuStrLenZ */
     211            {9, 0x0000e0da}, /* f_FuStrLen */
     212            {9, 0x0000e218}, /* f_FuBuff */
    191213        }
    192214    },
    193215    { /* 8258RS.SYM */
    194         8258, 'R', TRUE, 15,
     216        8258, 'R', TYPE_SMP, 15,
    195217        {
    196218            {14, 0x0000bdd0}, /* _ldrRead */
     
    214236    },
    215237    { /* 8258RU.SYM */
    216         8258, 'R', FALSE, 14,
     238        8258, 'R', TYPE_UNI, 14,
    217239        {
    218240            {13, 0x000091a4}, /* _ldrRead */
     
    230252            {13, 0x0001d16a}, /* _VMGetOwner */
    231253            {13, 0x00042d56}, /* g_tkExecPgm */
    232             { 9, 0x0000d794}, /* f_FuStrLenZ */
    233             { 9, 0x0000d74a}, /* f_FuStrLen */
    234             { 9, 0x0000d888}, /* f_FuBuff */
     254            {9, 0x0000d794}, /* f_FuStrLenZ */
     255            {9, 0x0000d74a}, /* f_FuStrLen */
     256            {9, 0x0000d888}, /* f_FuBuff */
    235257        }
    236258    },
    237259    { /* 8259RS.SYM */
    238         8259, 'R', TRUE, 15,
     260        8259, 'R', TYPE_SMP, 15,
    239261        {
    240262            {14, 0x0000bdd0}, /* _ldrRead */
     
    258280    },
    259281    { /* 8259RU.SYM */
    260         8259, 'R', FALSE, 14,
     282        8259, 'R', TYPE_UNI, 14,
    261283        {
    262284            {13, 0x00009234}, /* _ldrRead */
     
    274296            {13, 0x0001d2de}, /* _VMGetOwner */
    275297            {13, 0x00042de2}, /* g_tkExecPgm */
    276             { 9, 0x0000d7a4}, /* f_FuStrLenZ */
    277             { 9, 0x0000d75a}, /* f_FuStrLen */
    278             { 9, 0x0000d898}, /* f_FuBuff */
     298            {9, 0x0000d7a4}, /* f_FuStrLenZ */
     299            {9, 0x0000d75a}, /* f_FuStrLen */
     300            {9, 0x0000d898}, /* f_FuBuff */
    279301        }
    280302    },
    281303    { /* 8260RS.SYM */
    282         8260, 'R', TRUE, 15,
     304        8260, 'R', TYPE_SMP, 15,
    283305        {
    284306            {14, 0x0000bdec}, /* _ldrRead */
     
    302324    },
    303325    { /* 8260RU.SYM */
    304         8260, 'R', FALSE, 14,
     326        8260, 'R', TYPE_UNI, 14,
    305327        {
    306328            {13, 0x00009244}, /* _ldrRead */
     
    318340            {13, 0x0001d2ee}, /* _VMGetOwner */
    319341            {13, 0x00042e8a}, /* g_tkExecPgm */
    320             { 9, 0x0000d7a4}, /* f_FuStrLenZ */
    321             { 9, 0x0000d75a}, /* f_FuStrLen */
    322             { 9, 0x0000d898}, /* f_FuBuff */
     342            {9, 0x0000d7a4}, /* f_FuStrLenZ */
     343            {9, 0x0000d75a}, /* f_FuStrLen */
     344            {9, 0x0000d898}, /* f_FuBuff */
    323345        }
    324346    },
    325347    { /* 8261RS.SYM */
    326         8261, 'R', TRUE, 15,
     348        8261, 'R', TYPE_SMP, 15,
    327349        {
    328350            {14, 0x0000c1dc}, /* _ldrRead */
     
    346368    },
    347369    { /* 8261RU.SYM */
    348         8261, 'R', FALSE, 14,
     370        8261, 'R', TYPE_UNI, 14,
    349371        {
    350372            {13, 0x00009294}, /* _ldrRead */
     
    362384            {13, 0x0001d2ee}, /* _VMGetOwner */
    363385            {13, 0x0004315a}, /* g_tkExecPgm */
    364             { 9, 0x0000d7d0}, /* f_FuStrLenZ */
    365             { 9, 0x0000d786}, /* f_FuStrLen */
    366             { 9, 0x0000d8c4}, /* f_FuBuff */
     386            {9, 0x0000d7d0}, /* f_FuStrLenZ */
     387            {9, 0x0000d786}, /* f_FuStrLen */
     388            {9, 0x0000d8c4}, /* f_FuBuff */
    367389        }
    368390    },
    369391    { /* 8262RS.SYM */
    370         8262, 'R', TRUE, 15,
     392        8262, 'R', TYPE_SMP, 15,
    371393        {
    372394            {14, 0x0000c1dc}, /* _ldrRead */
     
    390412    },
    391413    { /* 8262RU.SYM */
    392         8262, 'R', FALSE, 14,
     414        8262, 'R', TYPE_UNI, 14,
    393415        {
    394416            {13, 0x00009294}, /* _ldrRead */
     
    406428            {13, 0x0001d20a}, /* _VMGetOwner */
    407429            {13, 0x00043076}, /* g_tkExecPgm */
    408             { 9, 0x0000d7d4}, /* f_FuStrLenZ */
    409             { 9, 0x0000d78a}, /* f_FuStrLen */
    410             { 9, 0x0000d8c8}, /* f_FuBuff */
     430            {9, 0x0000d7d4}, /* f_FuStrLenZ */
     431            {9, 0x0000d78a}, /* f_FuStrLen */
     432            {9, 0x0000d8c8}, /* f_FuBuff */
    411433        }
    412434    },
    413435    { /* 8263RS.SYM */
    414         8263, 'R', TRUE, 15,
     436        8263, 'R', TYPE_SMP, 15,
    415437        {
    416438            {14, 0x0000c250}, /* _ldrRead */
     
    434456    },
    435457    { /* 8263RU.SYM */
    436         8263, 'R', FALSE, 14,
     458        8263, 'R', TYPE_UNI, 14,
    437459        {
    438460            {13, 0x00009308}, /* _ldrRead */
     
    450472            {13, 0x0001d27e}, /* _VMGetOwner */
    451473            {13, 0x0004321e}, /* g_tkExecPgm */
    452             { 9, 0x0000d7d4}, /* f_FuStrLenZ */
    453             { 9, 0x0000d78a}, /* f_FuStrLen */
    454             { 9, 0x0000d8c8}, /* f_FuBuff */
     474            {9, 0x0000d7d4}, /* f_FuStrLenZ */
     475            {9, 0x0000d78a}, /* f_FuStrLen */
     476            {9, 0x0000d8c8}, /* f_FuBuff */
    455477        }
    456478    },
    457479    { /* 8264RS.SYM */
    458         8264, 'R', TRUE, 15,
     480        8264, 'R', TYPE_SMP, 15,
    459481        {
    460482            {14, 0x0000c250}, /* _ldrRead */
     
    478500    },
    479501    { /* 8264RU.SYM */
    480         8264, 'R', FALSE, 14,
     502        8264, 'R', TYPE_UNI, 14,
    481503        {
    482504            {13, 0x0000930c}, /* _ldrRead */
     
    494516            {13, 0x0001d3a6}, /* _VMGetOwner */
    495517            {13, 0x00043432}, /* g_tkExecPgm */
    496             { 9, 0x0000d7e0}, /* f_FuStrLenZ */
    497             { 9, 0x0000d796}, /* f_FuStrLen */
    498             { 9, 0x0000d8d4}, /* f_FuBuff */
     518            {9, 0x0000d7e0}, /* f_FuStrLenZ */
     519            {9, 0x0000d796}, /* f_FuStrLen */
     520            {9, 0x0000d8d4}, /* f_FuBuff */
    499521        }
    500522    },
    501523    { /* 8265RS.SYM */
    502         8265, 'R', TRUE, 15,
     524        8265, 'R', TYPE_SMP, 15,
    503525        {
    504526            {14, 0x0000c250}, /* _ldrRead */
     
    522544    },
    523545    { /* 8265RU.SYM */
    524         8265, 'R', FALSE, 14,
     546        8265, 'R', TYPE_UNI, 14,
    525547        {
    526548            {13, 0x0000930c}, /* _ldrRead */
     
    538560            {13, 0x0001d2a6}, /* _VMGetOwner */
    539561            {13, 0x00043352}, /* g_tkExecPgm */
    540             { 9, 0x0000d830}, /* f_FuStrLenZ */
    541             { 9, 0x0000d7e6}, /* f_FuStrLen */
    542             { 9, 0x0000d924}, /* f_FuBuff */
     562            {9, 0x0000d830}, /* f_FuStrLenZ */
     563            {9, 0x0000d7e6}, /* f_FuStrLen */
     564            {9, 0x0000d924}, /* f_FuBuff */
    543565        }
    544566    },
    545567    { /* 9029RU.SYM */
    546         9029, 'R', FALSE, 13,
     568        9029, 'R', TYPE_UNI, 13,
    547569        {
    548570            {12, 0x00009404}, /* _ldrRead */
     
    560582            {12, 0x0001c8f0}, /* _VMGetOwner */
    561583            {12, 0x00041eb6}, /* g_tkExecPgm */
    562             { 9, 0x0000e594}, /* f_FuStrLenZ */
    563             { 9, 0x0000e54a}, /* f_FuStrLen */
    564             { 9, 0x0000e688}, /* f_FuBuff */
     584            {9, 0x0000e594}, /* f_FuStrLenZ */
     585            {9, 0x0000e54a}, /* f_FuStrLen */
     586            {9, 0x0000e688}, /* f_FuBuff */
    565587        }
    566588    },
    567589    { /* 9030RU.SYM */
    568         9030, 'R', FALSE, 14,
     590        9030, 'R', TYPE_UNI, 14,
    569591        {
    570592            {13, 0x00009784}, /* _ldrRead */
     
    582604            {13, 0x0001d000}, /* _VMGetOwner */
    583605            {13, 0x0004288a}, /* g_tkExecPgm */
    584             { 9, 0x0000db08}, /* f_FuStrLenZ */
    585             { 9, 0x0000dabe}, /* f_FuStrLen */
    586             { 9, 0x0000dbfc}, /* f_FuBuff */
     606            {9, 0x0000db08}, /* f_FuStrLenZ */
     607            {9, 0x0000dabe}, /* f_FuStrLen */
     608            {9, 0x0000dbfc}, /* f_FuBuff */
    587609        }
    588610    },
    589611    { /* 9031RU.SYM */
    590         9031, 'R', FALSE, 14,
     612        9031, 'R', TYPE_UNI, 14,
    591613        {
    592614            {13, 0x00009814}, /* _ldrRead */
     
    604626            {13, 0x0001d09c}, /* _VMGetOwner */
    605627            {13, 0x0004288a}, /* g_tkExecPgm */
    606             { 9, 0x0000db08}, /* f_FuStrLenZ */
    607             { 9, 0x0000dabe}, /* f_FuStrLen */
    608             { 9, 0x0000dbfc}, /* f_FuBuff */
     628            {9, 0x0000db08}, /* f_FuStrLenZ */
     629            {9, 0x0000dabe}, /* f_FuStrLen */
     630            {9, 0x0000dbfc}, /* f_FuBuff */
    609631        }
    610632    },
    611633    { /* 9032RU.SYM */
    612         9032, 'R', FALSE, 14,
     634        9032, 'R', TYPE_UNI, 14,
    613635        {
    614636            {13, 0x00009814}, /* _ldrRead */
     
    626648            {13, 0x0001d09a}, /* _VMGetOwner */
    627649            {13, 0x00042b3a}, /* g_tkExecPgm */
    628             { 9, 0x0000db00}, /* f_FuStrLenZ */
    629             { 9, 0x0000dab6}, /* f_FuStrLen */
    630             { 9, 0x0000dbf4}, /* f_FuBuff */
     650            {9, 0x0000db00}, /* f_FuStrLenZ */
     651            {9, 0x0000dab6}, /* f_FuStrLen */
     652            {9, 0x0000dbf4}, /* f_FuBuff */
    631653        }
    632654    },
    633655    { /* 9033RU.SYM */
    634         9033, 'R', FALSE, 14,
     656        9033, 'R', TYPE_UNI, 14,
    635657        {
    636658            {13, 0x00009824}, /* _ldrRead */
     
    648670            {13, 0x0001d172}, /* _VMGetOwner */
    649671            {13, 0x00042c8e}, /* g_tkExecPgm */
    650             { 9, 0x0000db30}, /* f_FuStrLenZ */
    651             { 9, 0x0000dae6}, /* f_FuStrLen */
    652             { 9, 0x0000dc24}, /* f_FuBuff */
     672            {9, 0x0000db30}, /* f_FuStrLenZ */
     673            {9, 0x0000dae6}, /* f_FuStrLen */
     674            {9, 0x0000dc24}, /* f_FuBuff */
    653675        }
    654676    },
    655677    { /* 9034RU.SYM */
    656         9034, 'R', FALSE, 14,
     678        9034, 'R', TYPE_UNI, 14,
    657679        {
    658680            {13, 0x00009368}, /* _ldrRead */
     
    670692            {13, 0x0001d2fa}, /* _VMGetOwner */
    671693            {13, 0x00042fda}, /* g_tkExecPgm */
    672             { 9, 0x0000db44}, /* f_FuStrLenZ */
    673             { 9, 0x0000dafa}, /* f_FuStrLen */
    674             { 9, 0x0000dc38}, /* f_FuBuff */
     694            {9, 0x0000db44}, /* f_FuStrLenZ */
     695            {9, 0x0000dafa}, /* f_FuStrLen */
     696            {9, 0x0000dc38}, /* f_FuBuff */
    675697        }
    676698    },
    677699    { /* 9035RU.SYM */
    678         9035, 'R', FALSE, 14,
     700        9035, 'R', TYPE_UNI, 14,
    679701        {
    680702            {13, 0x00009368}, /* _ldrRead */
     
    692714            {13, 0x0001d436}, /* _VMGetOwner */
    693715            {13, 0x0004324e}, /* g_tkExecPgm */
    694             { 9, 0x0000db44}, /* f_FuStrLenZ */
    695             { 9, 0x0000dafa}, /* f_FuStrLen */
    696             { 9, 0x0000dc38}, /* f_FuBuff */
     716            {9, 0x0000db44}, /* f_FuStrLenZ */
     717            {9, 0x0000dafa}, /* f_FuStrLen */
     718            {9, 0x0000dc38}, /* f_FuBuff */
    697719        }
    698720    },
    699721    { /* 9036RU.SYM */
    700         9036, 'R', FALSE, 14,
     722        9036, 'R', TYPE_UNI, 14,
    701723        {
    702724            {13, 0x000093b4}, /* _ldrRead */
     
    714736            {13, 0x0001d4ee}, /* _VMGetOwner */
    715737            {13, 0x0004359e}, /* g_tkExecPgm */
    716             { 9, 0x0000db94}, /* f_FuStrLenZ */
    717             { 9, 0x0000db4a}, /* f_FuStrLen */
    718             { 9, 0x0000dc88}, /* f_FuBuff */
     738            {9, 0x0000db94}, /* f_FuStrLenZ */
     739            {9, 0x0000db4a}, /* f_FuStrLen */
     740            {9, 0x0000dc88}, /* f_FuBuff */
    719741        }
    720742    },
  • trunk/src/win32k/dev16/probkrnl.c

    r2931 r3321  
    1 /* $Id: probkrnl.c,v 1.18 2000-02-27 12:37:53 bird Exp $
     1/* $Id: probkrnl.c,v 1.19 2000-04-05 18:40:38 bird Exp $
    22 *
    33 * Description:   Autoprobes the os2krnl file and os2krnl[*].sym files.
     
    100100    {FALSE, -1, 11, "_VMAllocMem",          -1,  -1,  -1,  -1, EPT_PROCIMPORT32},  /* 11 */
    101101    {FALSE, -1, 11, "_VMGetOwner",          -1,  -1,  -1,  -1, EPT_PROCIMPORT32},  /* 12 */
    102     {FALSE, -1, 11, "g_tkExecPgm",          -1,  -1,  -1,  -1, EPT_PROC32},        /* 13 */ /* currently disabled! */
     102    {FALSE, -1, 11, "g_tkExecPgm",          -1,  -1,  -1,  -1, EPT_PROC32},        /* 13 */
    103103    {FALSE, -1, 11, "f_FuStrLenZ",          -1,  -1,  -1,  -1, EPT_PROCIMPORT16},  /* 14 */
    104104    {FALSE, -1, 10, "f_FuStrLen",           -1,  -1,  -1,  -1, EPT_PROCIMPORT16},  /* 14 */
     
    110110unsigned short      usVerMajor       = 0;
    111111unsigned short      usVerMinor       = 0;
    112 unsigned char       fSMP             = FALSE;
     112unsigned char       fchType          = TYPE_UNI;        /* TYPE_SMP, TYPE_UNI, TYPE_W4 */
    113113unsigned char       fDebug           = FALSE;
    114114
     
    170170/* Workers */
    171171static int      LookupKrnlEntry(unsigned uBuild, unsigned char chType,
    172                                 unsigned char fSMP, unsigned char cObjects);
     172                                unsigned char fchType, unsigned char cObjects);
    173173static int      VerifyPrologs(void);
    174174static int      ProbeSymFile(const char *pszFilename);
     
    492492 *            1 if not found.
    493493 *            Error code on error.
    494  * @param     uBuild    Build level.
    495  * @param     chType    'A' all strict
    496  *                      'H' half strict
    497  *                      'R' retail
    498  * @param     fSMP      TRUE: SMP
    499  *                      FALSE: UNI
    500  * @param     cObjects  Count of object in the running kernel.
     494 * @param     uBuild        Build level.
     495 * @param     fchBldType    'A' all strict
     496 *                          'H' half strict
     497 *                          'R' retail
     498 * @param     fchType       TYPE_SMP, TYPE_UNI, TYPE_W4
     499 * @param     cObjects      Count of object in the running kernel.
    501500 * @sketch    Loop thru the table.
    502501 * @status    completely implemented.
    503502 * @author    knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
    504503 */
    505 static int LookupKrnlEntry(unsigned uBuild, unsigned char chType, unsigned char fSMP, unsigned char cObjects)
     504static int LookupKrnlEntry(unsigned uBuild, unsigned char fchBldType, unsigned char fchType, unsigned char cObjects)
    506505{
    507506    int i;
     
    512511    for (i = 0; aKrnlSymDB[i].usBuild != 0; i++)
    513512    {
    514         if (aKrnlSymDB[i].usBuild      == uBuild
    515             && aKrnlSymDB[i].chType    == chType
    516             && aKrnlSymDB[i].fSMP      == fSMP
    517             && aKrnlSymDB[i].cObjects  == cObjects)
     513        if (aKrnlSymDB[i].usBuild       == uBuild
     514            && aKrnlSymDB[i].fchBldType == fchBldType
     515            && aKrnlSymDB[i].fchType    == fchType
     516            && aKrnlSymDB[i].cObjects   == cObjects)
    518517        {   /* found matching entry! */
    519518            int j;
     
    867866            /* Set the exported parameters */
    868867            usBuild  = KrnlInfo.usBuild;
    869             fSMP     = KrnlInfo.fSMP;
     868            fchType  = KrnlInfo.fchType;
    870869            fDebug   = KrnlInfo.fDebug;
    871870            cObjects = KrnlInfo.cObjects;
     
    891890#else
    892891    #ifndef EXTRACT
    893         APIRET          rc;
     892        APIRET  rc;
    894893
    895894        /*--------------*/
     
    10821081             */
    10831082            if (fDebug ||
    1084                 (rc = LookupKrnlEntry((unsigned short)usBuild, 'R', fSMP, cObjects)) != 0
     1083                (rc = LookupKrnlEntry((unsigned short)usBuild, 'R', fchType, cObjects)) != 0
    10851084                )
    10861085            {
     
    13881387        || !(pszFilename[cch-7] >= '0' && pszFilename[cch-7] <= '9')
    13891388        || !(pszFilename[cch-6] == 'A' || pszFilename[cch-6] == 'H' || pszFilename[cch-6] == 'R')
    1390         || !(pszFilename[cch-5] == 'S' || pszFilename[cch-5] == 'U')
     1389        || !(pszFilename[cch-5] == 'S' || pszFilename[cch-5] == 'U' || pszFilename[cch-5] == '4')
    13911390        )
    13921391    {
     
    14211420                 "        {\n",
    14221421                 pszFilename,
    1423                  cch - 6, &pszFilename[0],                       /* build number */
    1424                  pszFilename[cch - 6],                           /* Type, A=astrict, H=halfstrict, R=Retail */
    1425                  pszFilename[cch - 5] == 'S' ? "TRUE" : "FALSE", /* UNI: TRUE  SMP: FALSE */
     1422                 cch - 6, &pszFilename[0],              /* build number */
     1423                 pszFilename[cch - 6],                  /* Type, A=astrict, H=halfstrict, R=Retail */
     1424                 pszFilename[cch - 5] == 'S' ?          /* UNI: TYPE_UNI  SMP: TYPE_SMP  W4: TYPE_W4 */
     1425                    "TYPE_SMP" :  pszFilename[cch - 5] == '4' ? "TYPE_W4" : "TYPE_UNI",
    14261426                 aImportTab[0].iObject + 1); /* ASSUMES that DOSCODE32 is the last object. */
    14271427
     
    14571457{
    14581458    APIRET  rc;
     1459
     1460
     1461    /*
     1462     * Set paKrnlOTEs to point to an zeroed array of OTEs.
     1463     */
     1464    static KRNLINFO KrnlInfo = {0};
     1465    paKrnlOTEs = &KrnlInfo.aObjects[0];
    14591466
    14601467    if (argc > 1)
     
    14881495        int         i;
    14891496
    1490         printf16("/* $Id: probkrnl.c,v 1.18 2000-02-27 12:37:53 bird Exp $\n"
     1497        printf16("/* $Id: probkrnl.c,v 1.19 2000-04-05 18:40:38 bird Exp $\n"
    14911498                 "*\n"
    14921499                 "* Autogenerated kernel symbol database.\n"
  • trunk/src/win32k/dev32/d32init.c

    r2898 r3321  
    1 /* $Id: d32init.c,v 1.16 2000-02-25 18:15:03 bird Exp $
     1/* $Id: d32init.c,v 1.17 2000-04-05 18:40:40 bird Exp $
    22 *
    33 * d32init.c - 32-bits init routines.
     
    488488                                /* Check if build number seems valid. */
    489489                                if (   !(pKrnlInfo->usBuild >=  8254 && pKrnlInfo->usBuild <  8383) /* Warp 3 fp 32 -> fp 60 */
    490                                     && !(pKrnlInfo->usBuild >=  9023 && pKrnlInfo->usBuild <  9063) /* Warp 4 GA -> fp 40 */
     490                                    && !(pKrnlInfo->usBuild >=  9023 && pKrnlInfo->usBuild <= 9036) /* Warp 4 GA -> fp 12 */
    491491                                    && !(pKrnlInfo->usBuild >= 14039 && pKrnlInfo->usBuild < 14080) /* Warp 4.5 GA -> fp 40 */
    492492                                      )
     
    497497                                }
    498498
    499                                 /* If this is an Aurora or Warp 3 kernel there is more info! */
    500                                 pKrnlInfo->fSMP = (char)(*psz != ','
     499                                /* If this is an Aurora/Warp 4.5 or Warp 3 kernel there is more info! */
     500                                if (*psz != ','
    501501                                    && (   (psz[1] == '_' && (psz[2] == 'S' || psz[2] == 's'))  /* F_SMP */
    502                                         || (psz[2] == '_' && (psz[1] == 'S' || psz[1] == 's'))));/* _SMP  */
     502                                        || (psz[0] == '_' && (psz[1] == 'S' || psz[1] == 's'))  /* _SMP  */
     503                                       )
     504                                    )
     505                                    pKrnlInfo->fchType = TYPE_SMP;
     506                                else
     507                                    if (*psz != ','
     508                                            || (psz[0] == '_'
     509                                                && (psz[1] == 'W' || psz[1] == 'w') && psz[2] == '4')  /* _W4  */
     510                                        )
     511                                    pKrnlInfo->fchType = TYPE_W4;
     512                                else
     513                                    pKrnlInfo->fchType = TYPE_UNI;
     514
    503515
    504516                                /* Check if its a debug kernel (look for DEBUG at start of object 3-5) */
     
    523535
    524536                                /* Display info */
    525                                 kprintf(("GetOTEs32: info summary: Build %d, fSMP=%d, fDebug=%d\n",
    526                                          pKrnlInfo->usBuild, pKrnlInfo->fSMP, pKrnlInfo->fDebug));
     537                                kprintf(("GetOTEs32: info summary: Build %d, fchType=%d, fDebug=%d\n",
     538                                         pKrnlInfo->usBuild, pKrnlInfo->fchType, pKrnlInfo->fDebug));
    527539
    528540                                /* Break out */
  • trunk/src/win32k/include/dev1632.h

    r2898 r3321  
    1 /* $Id: dev1632.h,v 1.4 2000-02-25 18:15:04 bird Exp $
     1/* $Id: dev1632.h,v 1.5 2000-04-05 18:40:41 bird Exp $
    22 * dev1632.h - Common header file for 16-bit and 32-bit C
    33 *
     
    5252    unsigned char   cObjects;
    5353    unsigned char   fDebug;
    54     unsigned char   fSMP;
     54    unsigned char   fchType;             /* TYPE_SMP, TYPE_UNI, TYPE_W4 */
    5555    unsigned short  usBuild;
    5656    OTE             aObjects[MAXKRNLOBJECTS];
  • trunk/src/win32k/include/probkrnl.h

    r2898 r3321  
    1 /* $Id: probkrnl.h,v 1.11 2000-02-25 18:15:06 bird Exp $
     1/* $Id: probkrnl.h,v 1.12 2000-04-05 18:40:42 bird Exp $
    22 *
    33 * Include file for ProbKrnl.
     
    4141#define EPT_VARIMPORT16         (EPT_VARIMPORT | EPT_16BIT)
    4242
     43/* Kernel type: SMP/UNI/W4 */
     44#define TYPE_UNI                0       /* Any UNI processor kernel except Warp 4 fp13 and above. */
     45#define TYPE_SMP                1       /* SMP Warp3 Adv. or Warp 4.5 SMP */
     46#define TYPE_W4                 2       /* Warp4 fp13 and above. */
     47
    4348
    4449/*******************************************************************************
     
    6873{
    6974    unsigned short usBuild;             /* Build number */
    70     unsigned char  chType;              /* R, H, A */
    71     unsigned char  fSMP;                /* TRUE / FALSE */
     75    unsigned char  fchBldType;          /* R, H, A */
     76    unsigned char  fchType;             /* TYPE_SMP, TYPE_UNI, TYPE_W4 */
    7277    unsigned char  cObjects;            /* Count of objects */
    7378    struct
Note: See TracChangeset for help on using the changeset viewer.