Changeset 1467 for trunk/src/win32k/pe2lx
- Timestamp:
- Oct 27, 1999, 4:03:01 AM (26 years ago)
- Location:
- trunk/src/win32k/pe2lx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/pe2lx/makefile
r1289 r1467 1 1 ############################################################################## 2 # $Id: makefile,v 1. 4 1999-10-14 13:20:16bird Exp $2 # $Id: makefile,v 1.5 1999-10-27 02:03:01 bird Exp $ 3 3 # 4 4 # PD-Win32 API … … 112 112 pe2lx.cpp \ 113 113 $(WIN32K_INCLUDE)\pe2lx.h \ 114 $(WIN32K_INCLUDE)\OS2Krnl.h \ 114 115 $(WIN32K_INCLUDE)\malloc.h \ 115 116 $(WIN32K_INCLUDE)\new.h … … 118 119 pe2lxmain.cpp \ 119 120 $(WIN32K_INCLUDE)\pe2lx.h \ 121 $(WIN32K_INCLUDE)\OS2Krnl.h 120 122 121 123 $(PE2LXOBJ)\malloc.$(OBJEXT): \ -
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. */ -
trunk/src/win32k/pe2lx/pe2lxmain.cpp
r1290 r1467 1 /* $Id: pe2lxmain.cpp,v 1. 2 1999-10-14 13:27:02bird Exp $1 /* $Id: pe2lxmain.cpp,v 1.3 1999-10-27 02:03:01 bird Exp $ 2 2 * 3 3 * Pe2Lx main program. (Ring 3 only!) … … 27 27 #include <string.h> 28 28 #include <stdlib.h> 29 #include "OS2Krnl.h" 29 30 #include "pe2lx.h" 30 31 #include <stdio.h>
Note:
See TracChangeset
for help on using the changeset viewer.