diff options
author | Aditya Mandaleeka <adityam@microsoft.com> | 2016-07-01 17:09:47 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityam@microsoft.com> | 2016-07-01 17:09:47 -0700 |
commit | 52d7750b124d5c2425a5e975a98ce8720dfcbd2c (patch) | |
tree | a8d1cbfdd06046c00fc7673389bc25f94ffab6b1 /src/pal | |
parent | a3676dd03e21501c7565c8b402a21d4f5a1428c6 (diff) | |
download | coreclr-52d7750b124d5c2425a5e975a98ce8720dfcbd2c.tar.gz coreclr-52d7750b124d5c2425a5e975a98ce8720dfcbd2c.tar.bz2 coreclr-52d7750b124d5c2425a5e975a98ce8720dfcbd2c.zip |
Remove VIRTUALOwnedRegion.
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/src/include/pal/virtual.h | 10 | ||||
-rw-r--r-- | src/pal/src/map/virtual.cpp | 21 |
2 files changed, 1 insertions, 30 deletions
diff --git a/src/pal/src/include/pal/virtual.h b/src/pal/src/include/pal/virtual.h index b74076783a..ec8244e8db 100644 --- a/src/pal/src/include/pal/virtual.h +++ b/src/pal/src/include/pal/virtual.h @@ -92,16 +92,6 @@ Function : --*/ void VIRTUALCleanup( void ); -/*++ -Function : - VIRTUALOwnedRegion - - Returns whether the space in question is owned the VIRTUAL system. - ---*/ -BOOL VIRTUALOwnedRegion( IN UINT_PTR address ); - - #ifdef __cplusplus } diff --git a/src/pal/src/map/virtual.cpp b/src/pal/src/map/virtual.cpp index 50d43cf03f..04167c3830 100644 --- a/src/pal/src/map/virtual.cpp +++ b/src/pal/src/map/virtual.cpp @@ -498,25 +498,6 @@ static PCMI VIRTUALFindRegionInformation( IN UINT_PTR address ) /*++ Function : - VIRTUALOwnedRegion - - Returns whether the space in question is owned the VIRTUAL system. - ---*/ -BOOL VIRTUALOwnedRegion( IN UINT_PTR address ) -{ - PCMI pEntry = NULL; - CPalThread * pthrCurrent = InternalGetCurrentThread(); - - InternalEnterCriticalSection(pthrCurrent, &virtual_critsec); - pEntry = VIRTUALFindRegionInformation( address ); - InternalLeaveCriticalSection(pthrCurrent, &virtual_critsec); - - return pEntry != NULL; -} - -/*++ -Function : VIRTUALReleaseMemory @@ -612,6 +593,7 @@ static BYTE VIRTUALConvertWinFlags( IN DWORD flProtect ) } return MemAccessControl; } + /**** * VIRTUALConvertVirtualFlags() - * Converts internal virtual protection @@ -654,7 +636,6 @@ static DWORD VIRTUALConvertVirtualFlags( IN BYTE VirtualProtect ) return MemAccessControl; } - /*** * Displays the linked list. * |