summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pal/src/include/pal/virtual.h10
-rw-r--r--src/pal/src/map/virtual.cpp21
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.
*