williamr@2: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: // All rights reserved. williamr@2: // This component and the accompanying materials are made available williamr@2: // 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 williamr@2: // which accompanies this distribution, and is available williamr@2: // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: // williamr@2: // Initial Contributors: williamr@2: // Nokia Corporation - initial contribution. williamr@2: // williamr@2: // Contributors: williamr@2: // williamr@2: // Description: williamr@2: // e32\include\kernel\arm\vfpsupport.h williamr@2: // williamr@2: // williamr@2: williamr@2: #ifndef __VFPSUPPORT_H__ williamr@2: #define __VFPSUPPORT_H__ williamr@2: williamr@2: #include williamr@2: williamr@2: #define MAXVFPOPERATIONCOUNT 16 williamr@2: class TVFPComputationDescription williamr@2: { williamr@2: public: williamr@2: TUint32 count; williamr@2: TUint32 flags; williamr@2: struct williamr@2: { williamr@2: TUint32 op; williamr@2: TUint32 op_dbg; williamr@2: } desc[MAXVFPOPERATIONCOUNT]; williamr@2: }; williamr@2: williamr@2: extern TBool VFPIsComputeException(TUint32 instr); williamr@2: extern TBool VFPCollectTrapDescription(TVFPComputationDescription& aDesc, TUint32 aInstr); williamr@2: extern "C" void _VFP_Computation_Engine(TVFPComputationDescription& aDesc); williamr@2: extern "C" void _vfp_fp_trap(); williamr@2: williamr@2: #endif