Changeset 4307 for trunk/src/win32k/include
- Timestamp:
- Sep 22, 2000, 11:22:43 AM (25 years ago)
- Location:
- trunk/src/win32k/include
- Files:
-
- 4 edited
-
LdrCalls.h (modified) (4 diffs)
-
ModuleBase.h (modified) (2 diffs)
-
options.h (modified) (6 diffs)
-
pe2lx.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/LdrCalls.h
r4227 r4307 1 /* $Id: LdrCalls.h,v 1. 5 2000-09-08 21:34:11bird Exp $1 /* $Id: LdrCalls.h,v 1.6 2000-09-22 09:22:37 bird Exp $ 2 2 * 3 3 * Prototypes for the loader overrided function. … … 138 138 /** 139 139 * ldrOpenPath 140 * pre 14053. 140 141 * @returns OS2 return code. 141 142 * pLdrLv->lv_sfn is set to filename handle. … … 155 156 * endif 156 157 */ 157 extern ULONG LDRCALL ldrOpenPath ( /* retd 0x10 */158 extern ULONG LDRCALL ldrOpenPath_old( /* retd 0x10 */ 158 159 PCHAR pachFilename, /* ebp + 0x08 */ 159 160 USHORT cchFilename, /* ebp + 0x0c */ … … 162 163 ); 163 164 164 ULONG LDRCALL myldrOpenPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *plv, PULONG pful); 165 ULONG LDRCALL myldrOpenPath_old(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *plv, PULONG pful); 166 167 168 /** 169 * ldrOpenPath - ldrOpenPath for build 14053 and above. 170 * 171 * @returns OS2 return code. 172 * plv->lv_sfn is set to filename handle. 173 * @param pachFilename Pointer to modulename. Not zero terminated! 174 * @param cchFilename Modulename length. 175 * @param plv Loader local variables? (Struct from KERNEL.SDF) 176 * @param pful Pointer to flags which are passed on to ldrOpen. 177 * @param lLibPath New parameter in build 14053. 178 * ldrGetMte calls with 1 179 * ldrOpenNewExe calls with 3 180 * This is compared to the initial libpath index. 181 * The libpath index is: 182 * BEGINLIBPATH 1 183 * LIBPATH 2 184 * ENDLIBPATH 3 185 * The initial libpath index is either 1 or 2. 186 * 187 * @sketch 188 * This is roughly what the original ldrOpenPath does: 189 * Save pTCBCur->TCBFailErr. 190 * if !CLASS_GLOBAL or miniifs then 191 * ldrOpen(pachFilename) 192 * else 193 * if beglibpath != NULL then path = 1 else path = 2 194 * if (lLibPath < path) 195 * return ERROR_FILE_NOT_FOUND; (2) 196 * Allocate buffer. 197 * loop until no more libpath elements 198 * get next libpath element and add it to the modname. 199 * try open the modname 200 * if successfull then break the loop. 201 * endloop 202 * Free buffer. 203 * endif 204 * Restore pTCBCur->TCBFailErr. 205 */ 206 extern ULONG LDRCALL ldrOpenPath( /* retd 0x14 */ 207 PCHAR pachFilename, /* ebp + 0x08 */ 208 USHORT cchFilename, /* ebp + 0x0c */ 209 ldrlv_t * plv, /* ebp + 0x10 */ 210 PULONG pful, /* ebp + 0x14 */ 211 ULONG lLibPath /* ebp + 0x18 */ 212 ); 213 214 ULONG LDRCALL myldrOpenPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *plv, PULONG pful, ULONG lLibPath); 165 215 166 216 -
trunk/src/win32k/include/ModuleBase.h
r4164 r4307 1 /* $Id: ModuleBase.h,v 1. 4 2000-09-02 21:07:59bird Exp $1 /* $Id: ModuleBase.h,v 1.5 2000-09-22 09:22:36 bird Exp $ 2 2 * 3 3 * ModuleBase - Declaration of the Basic module class. … … 120 120 virtual ULONG applyFixups(PMTE pMTE, ULONG iObject, ULONG iPageTable, PVOID pvPage, 121 121 ULONG ulPageAddress, PVOID pvPTDA); /*(ldrEnum32bitRelRecs)*/ 122 virtual ULONG openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful ); /* (ldrOpenPath) */122 virtual ULONG openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath); /* (ldrOpenPath) */ 123 123 #ifndef RING0 124 124 virtual ULONG writeFile(PCSZ pszLXFilename); -
trunk/src/win32k/include/options.h
r4164 r4307 1 /* $Id: options.h,v 1.1 1 2000-09-02 21:08:03bird Exp $1 /* $Id: options.h,v 1.12 2000-09-22 09:22:37 bird Exp $ 2 2 * 3 3 * Options. … … 9 9 */ 10 10 11 /* NOINC */ 11 12 #ifndef _options_h_ 12 13 #define _options_h_ 14 /* INC */ 13 15 14 16 /******************************************************************************* … … 43 45 #define CB_RES_MAX ((unsigned long)1024*1024*10) /* 10MB */ 44 46 47 /* NOINC */ 45 48 /* default assignments */ 46 49 #define DEFAULT_OPTION_ASSIGMENTS \ … … 82 85 #define isSMPKernel() (options.fKernel & KF_SMP) 83 86 #define isUNIKernel() !(options.fKernel & KF_SMP) 84 87 /* INC */ 85 88 86 89 /******************************************************************************* … … 96 99 /** @cat logging options */ 97 100 USHORT usCom; /* Output port no. */ 98 U LONGfLogging; /* Logging. */101 USHORT fLogging; /* Logging. */ 99 102 100 103 /** @cat kernel selection */ … … 134 137 * Global Variables * 135 138 *******************************************************************************/ 139 /* NOINC */ 136 140 extern struct options DATA16_GLOBAL options; /* defined in d16globals.c */ 137 141 #if defined(__IBMC__) || defined(__IBMCPP__) 138 142 #pragma map( options , "_options" ) 139 143 #endif 144 /* INC */ 140 145 146 /* NOINC */ 141 147 #endif 148 /* INC */ 142 149 -
trunk/src/win32k/include/pe2lx.h
r4164 r4307 1 /* $Id: pe2lx.h,v 1.1 0 2000-09-02 21:08:03bird Exp $1 /* $Id: pe2lx.h,v 1.11 2000-09-22 09:22:37 bird Exp $ 2 2 * 3 3 * Pe2Lx class declarations. Ring 0 and Ring 3 … … 66 66 ULONG applyFixups(PMTE pMTE, ULONG iObject, ULONG iPageTable, PVOID pvPage, 67 67 ULONG ulPageAddress, PVOID pvPTDA); /*(ldrEnum32bitRelRecs)*/ 68 ULONG openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful ); /* (ldrOpenPath) */69 static ULONG openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, BOOL fOdin32PathValid);68 ULONG openPath(PCHAR pachFilename, USHORT cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath); /* (ldrOpenPath) */ 69 static ULONG openPath2(PCHAR pachFilename, ULONG cchFilename, ldrlv_t *pLdrLv, PULONG pful, ULONG lLibPath, BOOL fOdin32PathValid); 70 70 #ifndef RING0 71 71 ULONG testApplyFixups();
Note:
See TracChangeset
for help on using the changeset viewer.
