Changeset 6729 for trunk/src


Ignore:
Timestamp:
Sep 17, 2001, 2:11:36 AM (24 years ago)
Author:
bird
Message:

Moved out a few things to krnlPrivate.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/kKrnlLib/include/probkrnl.h

    r6723 r6729  
    1 /* $Id: probkrnl.h,v 1.2 2001-09-16 03:10:20 bird Exp $
     1/* $Id: probkrnl.h,v 1.3 2001-09-17 00:11:36 bird Exp $
    22 *
    33 * Include file for ProbKrnl.
    44 *
    5  * Copyright (c) 1998-2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
     5 * Copyright (c) 1998-2001 knut st. osmundsen (kosmunds@csc.com)
    66 *
    77 * Project Odin Software License can be found in LICENSE.TXT
    88 *
    99 */
    10 
    1110
    1211#ifndef _ProbKrnl_h_
     
    3534#define EPT16BitEntry(a)        (((a).fType & EPT_BIT_MASK) == EPT_16BIT)
    3635#define EPT32BitEntry(a)        (((a).fType & EPT_BIT_MASK) == EPT_32BIT)
     36#define EPTProc(a)              (((a).fType & ~(EPT_BIT_MASK | EPT_WRAPPED | EPT_NOT_REQ)) == EPT_PROC)
    3737#define EPTProcHybrid(a)        (((a).fType & ~(EPT_BIT_MASK | EPT_WRAPPED | EPT_NOT_REQ)) == EPT_PROCH)
    3838#define EPTVar(a)               (((a).fType & ~(EPT_BIT_MASK | EPT_NOT_REQ)) == EPT_VAR)
     
    7272
    7373/*
     74 * Calltab entry sizes.
     75 */
     76#define OVERLOAD16_ENTRY    0x18        /* This is intentionally 4 bytes larger than the one defined in calltaba.asm. */
     77#define OVERLOAD32_ENTRY    0x14
     78#define IMPORTH16_ENTRY     0x08
     79#define VARIMPORT_ENTRY     0x10
     80
     81
     82/*
     83 * Opcode.
     84 */
     85#define OPCODE_IGNORE   0               /* chOpcode value. */
     86
     87
     88/*
    7489 * Fixup stuff.
    7590 */
     
    85100#define EXP_VAR16       7
    86101#define EXP_PROC16      8
    87 
    88 
    89 /*
    90  * Opcode.
    91  */
    92 #define OPCODE_IGNORE   0               /* chOpcode value. */
    93102
    94103
     
    148157    #pragma map( szSymbolFile,"_szSymbolFile")
    149158    #pragma map( aKrnlSymDB , "_aKrnlSymDB"  )
    150     extern struct OTE               KKL_ObjTab[4];                  /* calltaba.asm */
    151     extern struct OTE               KKL_ObjTab_DosCalls[20];        /* calltaba.asm */
    152     extern char                     KKL_EntryTab[1];                /* calltaba.asm */
    153     extern char DATA16_INIT         KKL_EntryTabFixups[1];          /* calltaba.asm */
    154     #ifdef _OS2KLDR_H_
    155     extern MTE                      kKrnlLibMTE;                    /* calltaba.asm */
    156     #endif
    157     extern char                     callTab[1];                     /* calltaba.asm */
    158     extern char                     callTab16[1];                   /* calltaba.asm */
    159     extern unsigned                 auNopFuncs[NBR_OF_KRNLIMPORTS]; /* calltaba.asm */
    160159#endif
    161160
Note: See TracChangeset for help on using the changeset viewer.