kernel/eka/memmodel/epoc/flexible/mmu/mmapping.h
changeset 176 af6ec97d9189
parent 39 5d2844f35677
--- a/kernel/eka/memmodel/epoc/flexible/mmu/mmapping.h	Wed Jun 23 11:59:44 2010 +0100
+++ b/kernel/eka/memmodel/epoc/flexible/mmu/mmapping.h	Wed Jun 23 12:52:28 2010 +0100
@@ -237,7 +237,7 @@
 	*/
 	FORCE_INLINE TBool IsPinned()
 		{ return Flags()&EPinned; }
-		
+
 	/**
 	Return true if this mapping physically pins the memory it maps.
 	*/
@@ -245,6 +245,12 @@
 		{ return Flags()&EPhysicalPinningMapping; }
 
 	/**
+	Return true if this mapping has beed successfully attached to a memory object, pinning its pages.
+	*/
+	FORCE_INLINE TBool PagesPinned()
+		{ return Flags()&EPagesPinned; }		
+		
+	/**
 	Return the access permissions which this mapping uses to maps memory.
 	*/
 	FORCE_INLINE TMappingPermissions Permissions()