sl@0: // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // e32\memmodel\epoc\direct\mdefrag.cpp sl@0: // sl@0: // sl@0: sl@0: #include sl@0: #include "platform.h" sl@0: sl@0: // None of this is supported on the direct memory model sl@0: sl@0: EXPORT_C TInt Epoc::MovePhysicalPage(TPhysAddr /*aOld*/, TPhysAddr& /*aNew*/, TRamDefragPageToMove /*aPageToMove*/) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: TInt M::RamDefragFault(TAny* /*aExceptionInfo*/) sl@0: { sl@0: return KErrAbort; sl@0: } sl@0: sl@0: EXPORT_C TRamDefragRequest::TRamDefragRequest() sl@0: : TAsyncRequest(NULL, NULL, 0) sl@0: { sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::DefragRam(TInt aPriority, TInt aMaxPages) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::DefragRam(NFastSemaphore* aSem, TInt aPriority, TInt aMaxPages) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::DefragRam(TDfc* aDfc, TInt aPriority, TInt aMaxPages) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, NFastSemaphore* aSem, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, TDfc* aDfc, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, NFastSemaphore* aSem, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, TDfc* aDfc, TInt aPriority) sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C TInt TRamDefragRequest::Result() sl@0: { sl@0: return KErrNotSupported; sl@0: } sl@0: sl@0: EXPORT_C void TRamDefragRequest::Cancel() sl@0: { sl@0: }