kernel/eka/drivers/usbcc/queue.cpp
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
     1 // Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2002-2009 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 
       
    31 
    26 
    32 
    27 
    33 void TSglQueLink::Enque(TSglQueLink* aLink)
    28 void TSglQueLink::Enque(TSglQueLink* aLink)
    34 //
    29 //
    35 // Enque this after aLink.
    30 // Enque this after aLink.
    89 			}
    84 			}
    90 		pP = pN;
    85 		pP = pN;
    91 		pN = pP->iNext;
    86 		pN = pP->iNext;
    92 		}
    87 		}
    93 	// This doesn't have to indicate an error (but might):
    88 	// This doesn't have to indicate an error (but might):
    94 	OstTraceDef0( OST_TRACE_CATEGORY_RND, TRACE_FATAL, TSGLQUEBASE_DOREMOVE, 
    89 	__KTRACE_OPT(KPANIC, Kern::Printf("TSglQueBase::DoRemove: ESQueLinkNotQueued"));
    95 	        "TSglQueBase::DoRemove: ESQueLinkNotQueued" );
       
    96 	}
    90 	}
    97 
    91 
    98 
    92 
    99 TSglQueIterBase::TSglQueIterBase(TSglQueBase& aQue)
    93 TSglQueIterBase::TSglQueIterBase(TSglQueBase& aQue)
   100 //
    94 //