Ignore:
Timestamp:
Oct 27, 1999, 4:03:01 AM (26 years ago)
Author:
bird
Message:

Corrections to make win32k work.
(And now it does work, at least at my test machine...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/pe2lx/pe2lx.cpp

    r1277 r1467  
    1 /* $Id: pe2lx.cpp,v 1.4 1999-10-14 02:36:51 bird Exp $
     1/* $Id: pe2lx.cpp,v 1.5 1999-10-27 02:03:01 bird Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    4444                                            /* aligns something, a,  up to nearest alignment boundrary-
    4545                                             * Note: Aligment must be a 2**n number. */
    46 
    47 #ifndef RING0
    48     #define SSToDS(p)  (p)                  /* In RING-0 this translates pointers to stack memory in the
    49                                              * Stack Segment (SS) to pointers to stack memory in the
    50                                              * Data Segment (DS). SS is 16-bit compatible, DS is 32-bit flat.
    51                                              * It is vitally important to use this macro whenever creating
    52                                              * a pointer to stack memory which don't implies that is a pointer
    53                                              * relative to SS. For example when passing the pointer to an stack
    54                                              * variable into an function call; like the addToModule calls.
    55                                              */
    56 #endif
    57 
    5846
    5947/*
     
    131119
    132120#include "vprintf.h"                        /* win32k printf and vprintf. Not C library! */
    133 
     121#include "dev32.h"                          /* 32-Bit part of the device driver. (SSToDS) */
     122#include "OS2Krnl.h"                        /* kernel structs.  (SFN) */
    134123#ifdef RING0
    135     #include "dev32.h"                      /* 32-Bit part of the device driver. (SSToDS) */
    136     #include "OS2Krnl.h"                    /* kernel structs.  (SFN) */
    137124    #include "ldrCalls.h"                   /* _ldr* calls. (_ldrRead) */
    138125#endif
    139 
    140126#include "pe2lx.h"                          /* Pe2Lx class definitions, ++. */
    141127#include <versionos2.h>                     /* Pe2Lx version. */
Note: See TracChangeset for help on using the changeset viewer.