os/kernelhwsrv/kerneltest/e32test/mmu/t_codepaging_dll.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32test\mmu\t_codepaging_dll.h
    15 // 
    16 //
    17 
    18 #include <e32std.h>
    19 
    20 #ifndef __T_CODEPAGING_DLL_H__
    21 #define __T_CODEPAGING_DLL_H__
    22 
    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;
    27 
    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;
    32 
    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;
    37 
    38 #endif