equal
deleted
inserted
replaced
1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
17 |
17 |
18 /** |
18 /** |
19 @file |
19 @file |
20 */ |
20 */ |
21 |
21 |
|
22 |
|
23 #include "OstTraceDefinitions.h" |
|
24 #ifdef OST_TRACE_COMPILER_IN_USE |
|
25 #include "smsumainTraces.h" |
|
26 #endif |
|
27 |
22 #include "smsumain.h" |
28 #include "smsumain.h" |
23 |
29 |
24 #include "smsstacklog.h" |
30 #include "smsstacklog.h" |
25 |
31 |
26 /** |
32 /** |
28 */ |
34 */ |
29 GLDEF_C void SmsuPanic(TSmsuPanic aPanic) |
35 GLDEF_C void SmsuPanic(TSmsuPanic aPanic) |
30 { |
36 { |
31 // Ignore in code coverage - panic method |
37 // Ignore in code coverage - panic method |
32 BULLSEYE_OFF |
38 BULLSEYE_OFF |
33 LOGSMSU2("SMSUPANIC %d", aPanic); |
39 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_BORDER, SMSUPANIC_1, "SMSUPANIC %d", aPanic); |
34 _LIT(KSmsuPanic, "SMSU"); |
40 _LIT(KSmsuPanic, "SMSU"); |
35 User::Panic(KSmsuPanic,aPanic); |
41 User::Panic(KSmsuPanic,aPanic); |
36 BULLSEYE_RESTORE |
42 BULLSEYE_RESTORE |
37 } |
43 } |