First public contribution.
1 // Copyright (c) 2008-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 "ARM EABI LICENCE.txt"
5 // which accompanies this distribution, and is available
6 // in kernel/eka/compsupp.
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This file is part of drtrvct.dll and drtrvct_vfpv2.dll.
19 #include <e32std_private.h>
20 #include <signal.h> // Will be found among RVCT's header files.
23 extern "C" EXPORT_C TInt __rt_raise(TInt signal, TInt type)
25 TExcType aExc = EExcGeneral;
27 // Translate the signal into an EPOC exception.
41 aExc = EExcFloatInvalidOperation;
50 aExc = EExcUserInterrupt;
62 User::RaiseException(aExc);