This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Expand file tree Collapse file tree 2 files changed +1
-30
lines changed Original file line number Diff line number Diff line change @@ -92,16 +92,6 @@ Function :
92
92
--*/
93
93
void VIRTUALCleanup ( void );
94
94
95
- /* ++
96
- Function :
97
- VIRTUALOwnedRegion
98
-
99
- Returns whether the space in question is owned the VIRTUAL system.
100
-
101
- --*/
102
- BOOL VIRTUALOwnedRegion ( IN UINT_PTR address );
103
-
104
-
105
95
#ifdef __cplusplus
106
96
}
107
97
Original file line number Diff line number Diff line change @@ -496,25 +496,6 @@ static PCMI VIRTUALFindRegionInformation( IN UINT_PTR address )
496
496
return pEntry;
497
497
}
498
498
499
- /* ++
500
- Function :
501
- VIRTUALOwnedRegion
502
-
503
- Returns whether the space in question is owned the VIRTUAL system.
504
-
505
- --*/
506
- BOOL VIRTUALOwnedRegion ( IN UINT_PTR address )
507
- {
508
- PCMI pEntry = NULL ;
509
- CPalThread * pthrCurrent = InternalGetCurrentThread ();
510
-
511
- InternalEnterCriticalSection (pthrCurrent, &virtual_critsec);
512
- pEntry = VIRTUALFindRegionInformation ( address );
513
- InternalLeaveCriticalSection (pthrCurrent, &virtual_critsec);
514
-
515
- return pEntry != NULL ;
516
- }
517
-
518
499
/* ++
519
500
Function :
520
501
@@ -612,6 +593,7 @@ static BYTE VIRTUALConvertWinFlags( IN DWORD flProtect )
612
593
}
613
594
return MemAccessControl;
614
595
}
596
+
615
597
/* ***
616
598
* VIRTUALConvertVirtualFlags() -
617
599
* Converts internal virtual protection
@@ -654,7 +636,6 @@ static DWORD VIRTUALConvertVirtualFlags( IN BYTE VirtualProtect )
654
636
return MemAccessControl;
655
637
}
656
638
657
-
658
639
/* **
659
640
* Displays the linked list.
660
641
*
You can’t perform that action at this time.
0 commit comments