File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ MMPTE DemandZeroPte = {{MM_READWRITE << MM_PTE_SOFTWARE_PROTECTION_BITS}};
29
29
MMPTE PrototypePte = {{(MM_READWRITE << MM_PTE_SOFTWARE_PROTECTION_BITS ) |
30
30
PTE_PROTOTYPE | (MI_PTE_LOOKUP_NEEDED << PAGE_SHIFT )}};
31
31
32
+ /* Template PTE for decommited page */
33
+ MMPTE MmDecommittedPte = {{MM_DECOMMIT << MM_PTE_SOFTWARE_PROTECTION_BITS }};
32
34
33
35
/* PRIVATE FUNCTIONS **********************************************************/
34
36
Original file line number Diff line number Diff line change @@ -479,6 +479,7 @@ extern MMPTE ValidKernelPte;
479
479
extern MMPDE DemandZeroPde ;
480
480
extern MMPTE DemandZeroPte ;
481
481
extern MMPTE PrototypePte ;
482
+ extern MMPTE MmDecommittedPte ;
482
483
extern BOOLEAN MmLargeSystemCache ;
483
484
extern BOOLEAN MmZeroPageFile ;
484
485
extern BOOLEAN MmProtectFreedNonPagedPool ;
@@ -1329,6 +1330,12 @@ MiDeleteSystemPageableVm(
1329
1330
OUT PPFN_NUMBER ValidPages
1330
1331
);
1331
1332
1333
+ ULONG
1334
+ NTAPI
1335
+ MiGetPageProtection (
1336
+ IN PMMPTE PointerPte
1337
+ );
1338
+
1332
1339
PLDR_DATA_TABLE_ENTRY
1333
1340
NTAPI
1334
1341
MiLookupDataTableEntry (
You can’t perform that action at this time.
0 commit comments