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_dll5.cpp
18 #include "t_codepaging_dll.h"
20 #define C (void*)GetAddressOfRelocatedData
21 #define D (void*)TestData
23 #define A128 C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D,C,D
24 #define A1k A128,A128,A128,A128,A128,A128,A128,A128
25 #define A8k A1k,A1k,A1k,A1k,A1k,A1k,A1k,A1k
28 static const void* const TestData[] =
30 static const void* TestData[] =
33 A8k,A8k,A8k,A8k,A8k,A8k,A8k,A8k
36 const TInt KSizeOfTestData = sizeof(TestData);
38 EXPORT_C void** GetAddressOfRelocatedData(TInt& aSize, void*& aDataValue, void*& aCodeValue)
42 aSize = KSizeOfTestData;
43 return (void**)TestData;