Changeset 1467 for trunk/src/win32k/pe2lx/pe2lx.cpp
- Timestamp:
- Oct 27, 1999, 4:03:01 AM (26 years ago)
- 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 $ 2 2 * 3 3 * Pe2Lx class implementation. Ring 0 and Ring 3 … … 44 44 /* aligns something, a, up to nearest alignment boundrary- 45 45 * Note: Aligment must be a 2**n number. */ 46 47 #ifndef RING048 #define SSToDS(p) (p) /* In RING-0 this translates pointers to stack memory in the49 * Stack Segment (SS) to pointers to stack memory in the50 * Data Segment (DS). SS is 16-bit compatible, DS is 32-bit flat.51 * It is vitally important to use this macro whenever creating52 * a pointer to stack memory which don't implies that is a pointer53 * relative to SS. For example when passing the pointer to an stack54 * variable into an function call; like the addToModule calls.55 */56 #endif57 58 46 59 47 /* … … 131 119 132 120 #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) */ 134 123 #ifdef RING0 135 #include "dev32.h" /* 32-Bit part of the device driver. (SSToDS) */136 #include "OS2Krnl.h" /* kernel structs. (SFN) */137 124 #include "ldrCalls.h" /* _ldr* calls. (_ldrRead) */ 138 125 #endif 139 140 126 #include "pe2lx.h" /* Pe2Lx class definitions, ++. */ 141 127 #include <versionos2.h> /* Pe2Lx version. */
Note:
See TracChangeset
for help on using the changeset viewer.