- Timestamp:
- Sep 27, 2001, 5:04:12 AM (24 years ago)
- Location:
- trunk/src/win32k/kKrnlLib/include
- Files:
-
- 6 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 -
trunk/src/win32k/kKrnlLib/include/OS2KPG.h
r6815 r6837 1 /* $Id: OS2KPG.h,v 1. 2 2001-09-26 03:52:35bird Exp $1 /* $Id: OS2KPG.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * OS/2 kernel page manager stuff. … … 10 10 #ifndef _OS2KPG_H_ 11 11 #define _OS2KPG_H_ 12 13 /******************************************************************************* 14 * Global Variables * 15 *******************************************************************************/ 16 #ifndef KKRNLLIB 17 #if defined(__IBMC__) || defined(__IBMCPP__) 18 #pragma map(PGSwapEnabled , "_PGSwapEnabled") 19 #pragma map(pgPhysPages , "_pgPhysPages") 20 #pragma map(pgPhysMax , "_pgPhysMax") 21 #pragma map(pgResidentPages , "_pgResidentPages") 22 #pragma map(pgSwappablePages , "_pgSwappablePages") 23 #pragma map(pgDiscardableInmem , "_pgDiscardableInmem") 24 #pragma map(pgDiscardablePages , "_pgDiscardablePages") 25 #pragma map(pgcPageFaults , "_pgcPageFaults") 26 #pragma map(pgcPageFaultsActive , "_pgcPageFaultsActive") 27 #else 28 #pragma PGSwapEnabled _PGSwapEnabled 29 #pragma pgPhysPages _pgPhysPages 30 #pragma pgPhysMax _pgPhysMax 31 #pragma pgResidentPages _pgResidentPages 32 #pragma pgSwappablePages _pgSwappablePages 33 #pragma pgDiscardableInmem _pgDiscardableInmem 34 #pragma pgDiscardablePages _pgDiscardablePages 35 #pragma pgcPageFaults _pgcPageFaults 36 #pragma pgcPageFaultsActive _pgcPageFaultsActive 37 #endif 38 #endif 12 39 13 40 /** -
trunk/src/win32k/kKrnlLib/include/OS2KPTDA.h
r6815 r6837 1 /* $Id: OS2KPTDA.h,v 1. 2 2001-09-26 03:52:36bird Exp $1 /* $Id: OS2KPTDA.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * PTDA access functions. 4 4 * 5 * Copyright (c) 2000-2001 knut st. osmundsen (k nut.stange.osmundsen@mynd.no)5 * Copyright (c) 2000-2001 knut st. osmundsen (kosmunds@csc.com) 6 6 * 7 7 * Project Odin Software License can be found in LICENSE.TXT 8 8 * 9 9 */ 10 #ifndef _ ptda_h_11 #define _ ptda_h_10 #ifndef _OS2KPTDA_h_ 11 #define _OS2KPTDA_h_ 12 12 13 13 #ifdef __cplusplus … … 27 27 28 28 29 /******************************************************************************* 30 * Global Variables * 31 *******************************************************************************/ 32 #ifndef KKRNLLIB 33 #if defined(__IBMC__) || defined(__IBMCPP__) 34 #pragma map(pPTDACur, "_pPTDACur") 35 #else 36 #pragma pPTDACur _pPTDACur 37 #endif 38 #endif 29 39 #ifdef KKRNLLIB 30 40 extern PPPTDA ppPTDACur; /* Please access this only thru the ptdaGetCur() function. */ -
trunk/src/win32k/kKrnlLib/include/OS2KSM.h
r6815 r6837 1 /* $Id: OS2KSM.h,v 1. 2 2001-09-26 03:52:36bird Exp $1 /* $Id: OS2KSM.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * OS/2 kernel swapper manager stuff. … … 11 11 #define _OS2KSM_H_ 12 12 13 /******************************************************************************* 14 * Global Variables * 15 *******************************************************************************/ 16 #ifndef KKRNLLIB 17 #if defined(__IBMC__) || defined(__IBMCPP__) 18 #pragma map(SMswapping , "_SMswapping") 19 #pragma map(smFileSize , "_smFileSize") 20 #pragma map(smcBrokenDF , "_smcBrokenDF") 21 #pragma map(SMcDFInuse , "_SMcDFInuse") 22 #pragma map(SMMinFree , "_SMMinFree") 23 #pragma map(SMCFGMinFree , "_SMCFGMinFree") 24 #pragma map(SMCFGSwapSize, "_SMCFGSwapSize") 25 #pragma map(smcGrowFails , "_smcGrowFails") 26 #pragma map(SMcInMemFile , "_SMcInMemFile") 27 #else 28 #pragma SMswapping _SMswapping 29 #pragma smFileSize _smFileSize 30 #pragma smcBrokenDF _smcBrokenDF 31 #pragma SMcDFInuse _SMcDFInuse 32 #pragma SMMinFree _SMMinFree 33 #pragma SMCFGMinFree _SMCFGMinFree 34 #pragma SMCFGSwapSize _SMCFGSwapSize 35 #pragma smcGrowFails _smcGrowFails 36 #pragma SMcInMemFile _SMcInMemFile 37 #endif 38 #endif 13 39 14 40 /** -
trunk/src/win32k/kKrnlLib/include/OS2KTCB.h
r6815 r6837 1 /* $Id: OS2KTCB.h,v 1. 2 2001-09-26 03:52:37bird Exp $1 /* $Id: OS2KTCB.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * TCB - Thread Control Block access methods. … … 149 149 } TCB, *PTCB, **PPTCB; 150 150 151 /******************************************************************************* 152 * Global Variables * 153 *******************************************************************************/ 154 #ifndef KKRNLLIB 155 #if defined(__IBMC__) || defined(__IBMCPP__) 156 #pragma map(pTCBCur, "_pTCBCur") 157 #else 158 #pragma pTCBCur _pTCBCur 159 #endif 160 #endif 161 151 162 #ifdef KKRNLLIB 152 163 extern PPTCB ppTCBCur; -
trunk/src/win32k/kKrnlLib/include/OS2KVM.h
r6815 r6837 1 /* $Id: OS2KVM.h,v 1. 2 2001-09-26 03:52:37bird Exp $1 /* $Id: OS2KVM.h,v 1.3 2001-09-27 03:04:12 bird Exp $ 2 2 * 3 3 * OS/2 kernel VM functions. … … 222 222 * Global Variables * 223 223 *******************************************************************************/ 224 /* 225 * Mapping from _stdcall variable names nonmangled names. 226 */ 227 #ifndef KKRNLLIB 228 #if defined(__IBMC__) || defined(__IBMCPP__) 229 #pragma map(VirtualAddressLimit, "_VirtualAddressLimit") 230 #pragma map(ahvmSys, "_ahvmSys") 231 #pragma map(ahvmShr, "_ahvmShr") 232 #pragma map(ahvmhShr, "_ahvmhShr") 233 #else 234 #pragma VirtualAddressLimit _VirtualAddressLimit 235 #pragma ahvmSys _ahvmSys 236 #pragma ahvmShr _ahvmShr 237 #pragma ahvmhShr _ahvmhShr 238 #endif 239 #endif 240 241 224 242 /** 225 243 * Virtual Address Limit - this pointer might be NULL!
Note:
See TracChangeset
for help on using the changeset viewer.