kernel/eka/memmodel/epoc/flexible/mmu/mmapping.cpp
branchRCL_3
changeset 22 2f92ad2dc5db
parent 19 4a8fed1c0ef6
equal deleted inserted replaced
21:e7d2d738d3c2 22:2f92ad2dc5db
  1305 		{
  1305 		{
  1306 		TInt r = DFineMapping::Construct(	EMemoryAttributeStandard, 
  1306 		TInt r = DFineMapping::Construct(	EMemoryAttributeStandard, 
  1307 											EMappingCreateDefault, 
  1307 											EMappingCreateDefault, 
  1308 											KKernelOsAsid, 
  1308 											KKernelOsAsid, 
  1309 											0, 
  1309 											0, 
  1310 											aCount, 
  1310 											aCount << KPageShift, 
  1311 											0);
  1311 											0);
  1312 		if (r != KErrNone)
  1312 		if (r != KErrNone)
  1313 			return r;
  1313 			return r;
  1314 		}
  1314 		}
  1315 	// Map the memory, this will pin it first then map it.
  1315 	// Map the memory, this will pin it first then map it.