Changeset 6815 for trunk/src/win32k/kKrnlLib/include/OS2KPG.h
- Timestamp:
- Sep 26, 2001, 5:52:37 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/kKrnlLib/include/OS2KPG.h
r6701 r6815 1 /* $Id: OS2KPG.h,v 1. 1 2001-09-14 01:50:15 bird Exp $1 /* $Id: OS2KPG.h,v 1.2 2001-09-26 03:52:35 bird Exp $ 2 2 * 3 3 * OS/2 kernel page manager stuff. … … 17 17 * <li> 0 - Swapping disabled. </ul> 18 18 */ 19 #ifdef KKRNLLIB 19 20 extern int * pPGSwapEnabled; 20 21 #define PGSwapEnabled (*pPGSwapEnabled) 22 #else 23 extern int PGSwapEnabled; 24 #endif 25 21 26 22 27 /** 23 28 * Count of physical pages - hope this is correct. 24 29 */ 30 #ifdef KKRNLLIB 25 31 extern int * ppgPhysPages; 26 32 #define pgPhysPages (*ppgPhysPages) 33 #else 34 extern int pgPhysPages; 35 #endif 36 27 37 28 38 /** 29 39 * Pointer to top of physical memory (physical address). 30 40 */ 41 #ifdef KKRNLLIB 31 42 extern PULONG ppgPhysMax; 32 43 #define pgPhysMax (*ppgPhysMax) 44 #else 45 extern ULONG pgPhysMax; 46 #endif 47 33 48 34 49 /** 35 50 * Count of resident pages. 36 51 */ 52 #ifdef KKRNLLIB 37 53 extern int * ppgResidentPages; 38 54 #define pgResidentPages (*ppgResidentPages) 55 #else 56 extern int pgResidentPages; 57 #endif 58 39 59 40 60 /** 41 61 * Count of swappable pages which is currently present in memory. 42 62 */ 63 #ifdef KKRNLLIB 43 64 extern int * ppgSwappablePages; 44 65 #define pgSwappablePages (*ppgSwappablePages) 66 #else 67 extern int pgSwappablePages; 68 #endif 69 45 70 46 71 /** 47 72 * Count of discardable pages which is currently present in memory. 48 73 */ 74 #ifdef KKRNLLIB 49 75 extern int * ppgDiscardableInmem; 50 76 #define pgDiscardableInmem (*ppgDiscardableInmem) 77 #else 78 extern int pgDiscardableInmem; 79 #endif 80 51 81 52 82 /** 53 83 * Count of discardable pages allocated. 54 84 */ 85 #ifdef KKRNLLIB 55 86 extern int * ppgDiscardablePages; 56 87 #define pgDiscardablePages (*ppgDiscardablePages) 88 #else 89 extern int pgDiscardablePages; 90 #endif 91 57 92 58 93 /** 59 94 * Count of page faults since bootup. 60 95 */ 96 #ifdef KKRNLLIB 61 97 extern PULONG ppgcPageFaults; 62 98 #define pgcPageFaults (*ppgcPageFaults) 99 #else 100 extern ULONG pgcPageFaults; 101 #endif 102 63 103 64 104 /** 65 105 * Count of page faults currently being processed. 66 106 */ 107 #ifdef KKRNLLIB 67 108 extern PULONG ppgcPageFaultsActive; 68 109 #define pgcPageFaultsActive (*ppgcPageFaultsActive) 110 #else 111 extern ULONG pgcPageFaultsActive; 112 #endif 69 113 70 114 … … 73 117 */ 74 118 ULONG KRNLCALL PGPhysAvail(void); 119 ULONG KRNLCALL OrgPGPhysAvail(void); 75 120 76 121 … … 79 124 */ 80 125 ULONG KRNLCALL PGPhysPresent(void); 126 ULONG KRNLCALL OrgPGPhysPresent(void); 127 128 129 /** 130 * This function returns a bit vector for the dirty pages of a specified context 131 * for a specified range of pages. 132 * 133 * The dirty bits for the range are reset. 134 * 135 * @returns OS/2 return code. (NO_ERROR on success) 136 * @param ulVirtualPageNo Virtual page fram number. 137 * @param pPTDA Pointer to the context. 138 * @param cPages Number of pages. (max 32-bit due to ulDirtyBits.) 139 * @param ulDirtyBits Dirty bits. 140 * @remark VDM function... Not imported any longer. 141 */ 142 /*ULONG KRNLCALL PGGetDirty(ULONG ulVirtualPageNo, PPTDA pPTDA, ULONG cPages, PULONG ulDirtyBits);*/ 143 /*ULONG KRNLCALL OrgPGGetDirty(ULONG ulVirtualPageNo, PPTDA pPTDA, ULONG cPages, PULONG ulDirtyBits);*/ 144 81 145 82 146 #endif
Note:
See TracChangeset
for help on using the changeset viewer.