kernel/eka/memmodel/epoc/moving/mchunk.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 36 538db54a451d
child 110 c734af59ce98
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
   726 			offset=pdeEnd;	// disconnected chunk - step on to next PDE
   726 			offset=pdeEnd;	// disconnected chunk - step on to next PDE
   727 			}
   727 			}
   728 		}
   728 		}
   729 	if (iSize==0 && (iAttributes&EFixedAddress)==0)
   729 	if (iSize==0 && (iAttributes&EFixedAddress)==0)
   730 		{
   730 		{
   731 		__KTRACE_OPT(KMMU,Kern::Printf("DMemModelChunk::Adjust remove region"));
   731 		__KTRACE_OPT(KMMU,Kern::Printf("DMemModelChunk::DoDecommit remove region"));
   732 		NKern::LockSystem();
   732 		NKern::LockSystem();
   733 		if (TLinAddr(iBase)==iHomeBase)
   733 		if (TLinAddr(iBase)==iHomeBase)
   734 			iBase=NULL;
   734 			iBase=NULL;
   735 		DeallocateHomeAddress();
   735 		DeallocateHomeAddress();
   736 		NKern::UnlockSystem();
   736 		NKern::UnlockSystem();