equal
deleted
inserted
replaced
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2002-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 the License "Eclipse Public License v1.0" |
4 // under the terms of the License "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". |
21 @file queue.cpp |
21 @file queue.cpp |
22 @internalTechnology |
22 @internalTechnology |
23 */ |
23 */ |
24 |
24 |
25 #include <drivers/usbc.h> |
25 #include <drivers/usbc.h> |
|
26 #include "OstTraceDefinitions.h" |
|
27 #ifdef OST_TRACE_COMPILER_IN_USE |
|
28 #include "queueTraces.h" |
|
29 #endif |
|
30 |
26 |
31 |
27 |
32 |
28 void TSglQueLink::Enque(TSglQueLink* aLink) |
33 void TSglQueLink::Enque(TSglQueLink* aLink) |
29 // |
34 // |
30 // Enque this after aLink. |
35 // Enque this after aLink. |
84 } |
89 } |
85 pP = pN; |
90 pP = pN; |
86 pN = pP->iNext; |
91 pN = pP->iNext; |
87 } |
92 } |
88 // This doesn't have to indicate an error (but might): |
93 // This doesn't have to indicate an error (but might): |
89 __KTRACE_OPT(KPANIC, Kern::Printf("TSglQueBase::DoRemove: ESQueLinkNotQueued")); |
94 OstTraceDef0( OST_TRACE_CATEGORY_RND, TRACE_FATAL, TSGLQUEBASE_DOREMOVE, |
|
95 "TSglQueBase::DoRemove: ESQueLinkNotQueued" ); |
90 } |
96 } |
91 |
97 |
92 |
98 |
93 TSglQueIterBase::TSglQueIterBase(TSglQueBase& aQue) |
99 TSglQueIterBase::TSglQueIterBase(TSglQueBase& aQue) |
94 // |
100 // |