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: // e32test\mmu\t_codepaging_dll.h sl@0: // sl@0: // sl@0: sl@0: #include sl@0: sl@0: #ifndef __T_CODEPAGING_DLL_H__ sl@0: #define __T_CODEPAGING_DLL_H__ sl@0: sl@0: /// Test function in t_codepaging_dll called to test executing paged code sl@0: IMPORT_C TInt TestFunction(); sl@0: typedef TInt (*TTestFunction)(); sl@0: const TInt KTestFunctionOrdinal = 1; sl@0: sl@0: /// Function in t_codepaging_dll2 called to get size and address of test data sl@0: IMPORT_C const TUint* GetAddressOfData(TInt& aSize); sl@0: typedef TUint* (*TGetAddressOfDataFunction)(TInt&); sl@0: const TInt KGetAddressOfDataFunctionOrdinal = 1; sl@0: sl@0: /// Function in t_codepaging_dll5+6 called to get size and address of test data sl@0: IMPORT_C void** GetAddressOfRelocatedData(TInt& aSize, void*& aDataValue, void*& aCodeValue); sl@0: typedef void** (*TGetAddressOfRelocatedDataFunction)(TInt&,void*&,void*&); sl@0: const TInt KGetAddressOfRelocatedDataFunctionOrdinal = 1; sl@0: sl@0: #endif