equal
deleted
inserted
replaced
235 /** |
235 /** |
236 Return true if this mapping pins the memory it maps. |
236 Return true if this mapping pins the memory it maps. |
237 */ |
237 */ |
238 FORCE_INLINE TBool IsPinned() |
238 FORCE_INLINE TBool IsPinned() |
239 { return Flags()&EPinned; } |
239 { return Flags()&EPinned; } |
240 |
240 |
241 /** |
241 /** |
242 Return true if this mapping physically pins the memory it maps. |
242 Return true if this mapping physically pins the memory it maps. |
243 */ |
243 */ |
244 FORCE_INLINE TBool IsPhysicalPinning() |
244 FORCE_INLINE TBool IsPhysicalPinning() |
245 { return Flags()&EPhysicalPinningMapping; } |
245 { return Flags()&EPhysicalPinningMapping; } |
246 |
246 |
|
247 /** |
|
248 Return true if this mapping has beed successfully attached to a memory object, pinning its pages. |
|
249 */ |
|
250 FORCE_INLINE TBool PagesPinned() |
|
251 { return Flags()&EPagesPinned; } |
|
252 |
247 /** |
253 /** |
248 Return the access permissions which this mapping uses to maps memory. |
254 Return the access permissions which this mapping uses to maps memory. |
249 */ |
255 */ |
250 FORCE_INLINE TMappingPermissions Permissions() |
256 FORCE_INLINE TMappingPermissions Permissions() |
251 { return Mmu::PermissionsFromPteType(PteType()); } |
257 { return Mmu::PermissionsFromPteType(PteType()); } |