First public contribution.
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 // e32test\mmu\t_codepaging_dll.h
20 #ifndef __T_CODEPAGING_DLL_H__
21 #define __T_CODEPAGING_DLL_H__
23 /// Test function in t_codepaging_dll called to test executing paged code
24 IMPORT_C TInt TestFunction();
25 typedef TInt (*TTestFunction)();
26 const TInt KTestFunctionOrdinal = 1;
28 /// Function in t_codepaging_dll2 called to get size and address of test data
29 IMPORT_C const TUint* GetAddressOfData(TInt& aSize);
30 typedef TUint* (*TGetAddressOfDataFunction)(TInt&);
31 const TInt KGetAddressOfDataFunctionOrdinal = 1;
33 /// Function in t_codepaging_dll5+6 called to get size and address of test data
34 IMPORT_C void** GetAddressOfRelocatedData(TInt& aSize, void*& aDataValue, void*& aCodeValue);
35 typedef void** (*TGetAddressOfRelocatedDataFunction)(TInt&,void*&,void*&);
36 const TInt KGetAddressOfRelocatedDataFunctionOrdinal = 1;