kernel/eka/memmodel/emul/win32/mutils.cpp
changeset 47 46fffbe7b5a7
parent 43 96e5fb8b040d
child 90 947f0dc9f7a8
equal deleted inserted replaced
46:0bf4040442f9 47:46fffbe7b5a7
   382 	TPhysicalPinObject* object = (TPhysicalPinObject*)__e32_atomic_swp_ord_ptr(&aPinObject, 0);
   382 	TPhysicalPinObject* object = (TPhysicalPinObject*)__e32_atomic_swp_ord_ptr(&aPinObject, 0);
   383 	if (object)
   383 	if (object)
   384 		Kern::AsyncFree(object);
   384 		Kern::AsyncFree(object);
   385 	}
   385 	}
   386 
   386 
       
   387 //
       
   388 // Kernel map and pin (Not supported on the emulator).
       
   389 //
       
   390 
       
   391 TInt M::CreateKernelMapObject(TKernelMapObject*&, TUint)
       
   392 	{
       
   393 	return KErrNotSupported;
       
   394 	}
       
   395 
       
   396 
       
   397 TInt M::MapAndPinMemory(TKernelMapObject*, DThread*, TLinAddr, TUint, TUint, TLinAddr&, TPhysAddr*)
       
   398 	{
       
   399 	return KErrNotSupported;
       
   400 	}
       
   401 
       
   402 
       
   403 void M::UnmapAndUnpinMemory(TKernelMapObject*)
       
   404 	{
       
   405 	}
       
   406 
       
   407 
       
   408 void M::DestroyKernelMapObject(TKernelMapObject*&)
       
   409 	{
       
   410 	}
       
   411 
       
   412 
   387 // Misc DPagingDevice methods
   413 // Misc DPagingDevice methods
   388 
   414 
   389 EXPORT_C void DPagingDevice::NotifyIdle()
   415 EXPORT_C void DPagingDevice::NotifyIdle()
   390 	{
   416 	{
   391 	// Not used on this memory model
   417 	// Not used on this memory model