Changeset 6837 for trunk/src/win32k/kKrnlLib/include/OS2KLDR.h
- Timestamp:
- Sep 27, 2001, 5:04:12 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/kKrnlLib/include/OS2KLDR.h
r6815 r6837 1 /* $Id: OS2KLDR.h,v 1. 2 2001-09-26 03:52:35bird Exp $1 /* $Id: OS2KLDR.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * OS/2 kernel Loader Stuff. … … 225 225 * Global Variables * 226 226 *******************************************************************************/ 227 #ifndef KKRNLLIB 228 #if defined(__IBMC__) || defined(__IBMCPP__) 229 #pragma map(LdrLibPath, "_LdrLibPath") 230 #pragma map(mte_h , "_mte_h") 231 #pragma map(program_h , "_program_h") 232 #pragma map(program_l , "_program_l") 233 #pragma map(global_h , "_global_h") 234 #pragma map(global_l , "_global_l") 235 #pragma map(specific_h, "_specific_h") 236 #pragma map(specific_l, "_specific_l") 237 #pragma map(LdrSem, "_LdrSem") 238 #pragma map(ldrpFileNameBuf, "_ldrpFileNameBuf") 239 #else 240 #pragma LdrLibPath _LdrLibPath 241 #pragma mte_h _mte_h 242 #pragma program_h _program_h 243 #pragma program_l _program_l 244 #pragma global_h _global_h 245 #pragma global_l _global_l 246 #pragma specific_h _specific_h 247 #pragma specific_l _specific_l 248 #pragma LdrSem _LdrSem 249 #pragma ldrpFileNameBuf _ldrpFileNameBuf 250 #endif 251 #endif 252 227 253 #ifdef KKRNLLIB 228 254 extern PSZ* pLdrLibPath; /* Pointer to the libpath pointer. */ … … 244 270 extern PMTE specific_l; 245 271 #endif 272 273 /* 274 * Pointer to the loader semaphore. 275 */ 276 #ifdef _OS2KSEM_h_ 277 #ifdef KKRNLLIB 278 extern PKSEMMTX pLdrSem; 279 #else 280 extern KSEMMTX LdrSem; 281 #endif 282 #endif 283 284 /** 285 * Pointer to the loader filename buffer. 286 * Upon return from ldrOpen (and ldrOpenPath which calls ldrOpen) this is 287 * set to the fully qualified filename of the file last opened (successfully). 288 */ 289 #ifdef KKRNLLIB 290 extern PSZ * pldrpFileNameBuf; 291 #define ldrpFileNameBuf (*pldrpFileNameBuf) 292 #else 293 extern PSZ ldrpFileNameBuf; 294 #endif 295 246 296 247 297 /******************************************************************************* … … 470 520 * @sketch 471 521 */ 472 #ifdef _ ptda_h_522 #ifdef _OS2KPTDA_h_ 473 523 ULONG LDRCALL ldrWasLoadModuled( /* retd 0x0c */ 474 524 HMTE hmte, /* ebp + 0x08 */ … … 530 580 531 581 532 /*533 * Pointer to the loader semaphore.534 */535 #ifdef _OS2KSEM_h_536 #ifdef KKRNLLIB537 extern PKSEMMTX pLdrSem;538 #else539 extern KSEMMTX LdrSem;540 #endif541 #endif542 543 544 582 /** 545 583 * Validates an hMTE and gets the MTE pointer. … … 656 694 * @param pPTDA Pointer to per task data area of the task to be freed. 657 695 */ 696 #ifdef _OS2KPTDA_h_ 658 697 extern void LDRCALL LDRFreeTask(PPTDA pPTDA); 659 698 extern void LDRCALL OrgLDRFreeTask(PPTDA pPTDA); 660 661 662 /**663 * Pointer to the loader filename buffer.664 * Upon return from ldrOpen (and ldrOpenPath which calls ldrOpen) this is665 * set to the fully qualified filename of the file last opened (successfully).666 */667 #ifdef KKRNLLIB668 extern PSZ * pldrpFileNameBuf;669 #define ldrpFileNameBuf (*pldrpFileNameBuf)670 #else671 extern PSZ ldrpFileNameBuf;672 699 #endif 673 700
Note:
See TracChangeset
for help on using the changeset viewer.