Ignore:
Timestamp:
Sep 27, 2001, 5:08:35 AM (24 years ago)
Author:
bird
Message:

Win32k/kKrnlLib splittup: done the major stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/splittup/src/win32k/pe2lx/pe2lx.cpp

    r6493 r6841  
    1 /* $Id: pe2lx.cpp,v 1.32 2001-08-08 17:24:45 bird Exp $
     1/* $Id: pe2lx.cpp,v 1.32.2.1 2001-09-27 03:08:34 bird Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    1919#define INCL_OS2KRNL_LDR                /* Loader definitions. */
    2020#define INCL_OS2KRNL_PTDA               /* PTDA definitions. */
     21#define INCL_KKL_LOG
     22#define INCL_KKL_AVL
     23#define INCL_KKL_HEAP
    2124#ifdef RING0
    2225    #define INCL_NOAPI                  /* RING0: No apis. */
     26    #define Yield() D32Hlp_Yield()
    2327#else /*RING3*/
    2428    #define INCL_DOSPROCESS             /* RING3: DosSleep. */
    2529    #define INCL_OS2KRNL_LDR_NOAPIS     /* No apis */
     30    #define Yield() DosSleep(0)
    2631#endif
    2732
     
    8388#include <newexe.h>                     /* OS/2 NE structs and definitions. */
    8489#include <exe386.h>                     /* OS/2 LX structs and definitions. */
     90#include <OS2Krnl.h>                    /* kernel structs.  (SFN) */
     91#include <kKrnlLib.h>
    8592
    8693#include "devSegDf.h"                   /* Win32k segment definitions. */
    87 
    88 #include "malloc.h"                     /* win32k malloc (resident). Not C library! */
    89 #include "smalloc.h"                    /* win32k swappable heap. */
    90 #include "rmalloc.h"                    /* win32k resident heap. */
    9194
    9295#include <string.h>                     /* C library string.h. */
     
    9598#include <stdarg.h>                     /* C library stdarg.h. */
    9699
    97 #include "vprintf.h"                    /* win32k printf and vprintf. Not C library! */
    98100#include "dev32.h"                      /* 32-Bit part of the device driver. (SSToDS) */
    99 #include "OS2Krnl.h"                    /* kernel structs.  (SFN) */
    100101#ifdef RING0
    101     #include "avl.h"                    /* AVL tree. (ldr.h need it) */
    102102    #include "ldr.h"                    /* ldr helpers. (ldrGetExePath) */
    103103    #include "env.h"                    /* Environment helpers. */
     
    108108#include "pe2lx.h"                      /* Pe2Lx class definitions, ++. */
    109109#include <versionos2.h>                 /* Pe2Lx version. */
    110 #include "yield.h"                      /* Yield CPU. */
    111110#include "options.h"                    /* Win32k options. */
    112111
     
    17911790
    17921791            case FINDDLL_LIBPATH:
    1793                 pszPath = *pLdrLibPath;
     1792                pszPath = LdrLibPath;
    17941793                break;
    17951794
Note: See TracChangeset for help on using the changeset viewer.