epoc32/include/kernel/arm/vfpsupport.h
branchSymbian2
changeset 2 2fe1408b6811
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     1 // Copyright (c) 2005-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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32\include\kernel\arm\vfpsupport.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __VFPSUPPORT_H__
       
    19 #define __VFPSUPPORT_H__
       
    20 
       
    21 #include <e32def.h>
       
    22 
       
    23 #define MAXVFPOPERATIONCOUNT 16
       
    24 class TVFPComputationDescription
       
    25 	{
       
    26 public:
       
    27 	TUint32 count;
       
    28 	TUint32 flags;
       
    29 	struct
       
    30 		{
       
    31 		TUint32 op;
       
    32 		TUint32 op_dbg;
       
    33 		} desc[MAXVFPOPERATIONCOUNT];
       
    34 	};
       
    35 
       
    36 extern TBool VFPIsComputeException(TUint32 instr);
       
    37 extern TBool VFPCollectTrapDescription(TVFPComputationDescription& aDesc, TUint32 aInstr);
       
    38 extern "C" void _VFP_Computation_Engine(TVFPComputationDescription& aDesc);
       
    39 extern "C" void _vfp_fp_trap();
       
    40 
       
    41 #endif