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 // e32test\mmu\t_codepaging_dll2.cpp
18 #include "t_codepaging_dll.h"
20 // Nearly 3Mb of mostly zeros - we want the dll to be mapped into exactly 3Mb of pages
21 const TUint8 TestData[(3 * 1024 - 4) * 1024] = { 1 };
23 const TInt KSizeOfTestData = sizeof(TestData);
25 EXPORT_C const TUint* GetAddressOfData(TInt& aSize)
27 aSize = KSizeOfTestData;
28 return (TUint*)TestData;