Update contrib.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\memmodel\epoc\direct\mdefrag.cpp
21 // None of this is supported on the direct memory model
23 EXPORT_C TInt Epoc::MovePhysicalPage(TPhysAddr /*aOld*/, TPhysAddr& /*aNew*/, TRamDefragPageToMove /*aPageToMove*/)
25 return KErrNotSupported;
28 TInt M::RamDefragFault(TAny* /*aExceptionInfo*/)
33 EXPORT_C TRamDefragRequest::TRamDefragRequest()
34 : TAsyncRequest(NULL, NULL, 0)
38 EXPORT_C TInt TRamDefragRequest::DefragRam(TInt aPriority, TInt aMaxPages)
40 return KErrNotSupported;
43 EXPORT_C TInt TRamDefragRequest::DefragRam(NFastSemaphore* aSem, TInt aPriority, TInt aMaxPages)
45 return KErrNotSupported;
48 EXPORT_C TInt TRamDefragRequest::DefragRam(TDfc* aDfc, TInt aPriority, TInt aMaxPages)
50 return KErrNotSupported;
53 EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, TInt aPriority)
55 return KErrNotSupported;
58 EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, NFastSemaphore* aSem, TInt aPriority)
60 return KErrNotSupported;
63 EXPORT_C TInt TRamDefragRequest::EmptyRamZone(TUint aId, TDfc* aDfc, TInt aPriority)
65 return KErrNotSupported;
68 EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, TInt aPriority)
70 return KErrNotSupported;
73 EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, NFastSemaphore* aSem, TInt aPriority)
75 return KErrNotSupported;
78 EXPORT_C TInt TRamDefragRequest::ClaimRamZone(TUint aId, TPhysAddr& aPhysAddr, TDfc* aDfc, TInt aPriority)
80 return KErrNotSupported;
83 EXPORT_C TInt TRamDefragRequest::Result()
85 return KErrNotSupported;
88 EXPORT_C void TRamDefragRequest::Cancel()