Changeset 6815 for trunk/src/win32k/kKrnlLib/include/OS2KSM.h
- Timestamp:
- Sep 26, 2001, 5:52:37 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/kKrnlLib/include/OS2KSM.h
r6701 r6815 1 /* $Id: OS2KSM.h,v 1. 1 2001-09-14 01:50:15bird Exp $1 /* $Id: OS2KSM.h,v 1.2 2001-09-26 03:52:36 bird Exp $ 2 2 * 3 3 * OS/2 kernel swapper manager stuff. … … 18 18 * <li> 0 - Swapping disabled. </ul> 19 19 */ 20 #ifdef KKRNLLIB 20 21 extern PSHORT pSMswapping; 21 22 #define SMswapping (*pSMswapping) 23 #else 24 extern SHORT SMswapping; 25 #endif 26 22 27 23 28 /** 24 29 * Real swapper file size in disk frames (ie. pages). 25 30 */ 31 #ifdef KKRNLLIB 26 32 extern PULONG psmFileSize; 27 33 #define smFileSize (*psmFileSize) 34 #else 35 extern ULONG smFileSize; 36 #endif 37 28 38 29 39 /** 30 40 * Number of broken disk frames. 31 41 */ 42 #ifdef KKRNLLIB 32 43 extern PULONG psmcBrokenDF; 33 44 #define smcBrokenDF (*psmcBrokenDF) 45 #else 46 extern ULONG smcBrokenDF; 47 #endif 48 34 49 35 50 /** 36 51 * Number of disk frames (DF) currently in use. 37 52 */ 53 #ifdef KKRNLLIB 38 54 extern PULONG pSMcDFInuse; 39 55 #define SMcDFInuse (*pSMcDFInuse) 56 #else 57 extern ULONG SMcDFInuse; 58 #endif 59 40 60 41 61 /** … … 44 64 #define SMcDFAvail (smFileSize - smcBrokenDF - SMcDFInuse) 45 65 66 46 67 /** 47 68 * The minimum free space on the swap volume (in pages). (Addjusted SMCFGMinFree) 48 69 */ 70 #ifdef KKRNLLIB 49 71 extern PULONG pSMMinFree; 50 72 #define SMMinFree (*pSMMinFree) 73 #else 74 extern ULONG SMMinFree; 75 #endif 76 51 77 52 78 /** 53 79 * The minimum free space on the swap volumen (in pages * 4) specified in config.sys. 54 80 */ 81 #ifdef KKRNLLIB 55 82 extern PULONG pSMCFGMinFree; 56 83 #define SMCFGMinFree (*pSMCFGMinFree) 84 #else 85 extern ULONG SMCFGMinFree; 86 #endif 87 57 88 58 89 /** 59 90 * The initial swapfile size (in pages * 4) specified in config.sys. 60 91 */ 92 #ifdef KKRNLLIB 61 93 extern PULONG pSMCFGSwapSize; 62 94 #define SMCFGSwapSize (*pSMCFGSwapSize) 95 #else 96 extern ULONG SMCFGSwapSize; 97 #endif 98 63 99 64 100 /** 65 101 * Number of swapper grow attempt which has failed since boot. 66 102 */ 103 #ifdef KKRNLLIB 67 104 extern PULONG psmcGrowFails; 68 105 #define smcGrowFails (*psmcGrowFails) 106 #else 107 extern ULONG smcGrowFails; 108 #endif 109 69 110 70 111 /** … … 72 113 * This count isn't counted into the SMcDFInuse count I think. 73 114 */ 115 #ifdef KKRNLLIB 74 116 extern PULONG pSMcInMemFile; 75 117 #define SMcInMemFile (*pSMcInMemFile) 118 #else 119 extern ULONG SMcInMemFile; 120 #endif 76 121 77 122
Note:
See TracChangeset
for help on using the changeset viewer.