kernel/eka/memmodel/epoc/flexible/mmu/mpagearray.cpp
changeset 102 ef2a444a7410
parent 0 a41df078684a
child 201 43365a9b78a3
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
   256 	TRACE2(("RPageArray::TIter::AddFind returns 0x%x+0x%x",startIndex,n));
   256 	TRACE2(("RPageArray::TIter::AddFind returns 0x%x+0x%x",startIndex,n));
   257 	return n;
   257 	return n;
   258 	}
   258 	}
   259 
   259 
   260 
   260 
   261 void RPageArray::TIter::Add(TUint aCount, TPhysAddr* aPages)
   261 void RPageArray::TIter::Add(TUint aCount, const TPhysAddr* aPages)
   262 	{
   262 	{
   263 	// MmuLock NOT required because...
   263 	// MmuLock NOT required because...
   264 	// 1. AddStart has ensured all segments are allocated and locked (so they can't be deleted)
   264 	// 1. AddStart has ensured all segments are allocated and locked (so they can't be deleted)
   265 	// 2. AddFind returns an unallocated region. This can only be changed by Adding pages
   265 	// 2. AddFind returns an unallocated region. This can only be changed by Adding pages
   266 	//    and we only allow one thread to do this at a time (i.e. the thread calling this function.)
   266 	//    and we only allow one thread to do this at a time (i.e. the thread calling this function.)