Update contrib.
1 // Copyright (c) 2001-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 // function the runtime can call to 'raise an exception'
19 #include <e32std_private.h>
20 #include <signal.h> // get from %ARMINC%
24 EXPORT_C TInt __rt_raise(TInt signal, TInt type)
26 TExcType aExc = EExcGeneral;
27 // translate signal into EPOC exception
40 aExc = EExcFloatInvalidOperation;
47 aExc = EExcUserInterrupt;
56 // yuk. Introduces dependendcy on EUSER!!
57 User::RaiseException(aExc);