Update contrib.
1 // Copyright (c) 2006-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 "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Internal class used to assemble debug functionality data block
17 #ifndef T_DEBUG_FUNCTIONALITY_H
18 #define T_DEBUG_FUNCTIONALITY_H
21 * This class is used to represent and assemble the debug functionality
24 class TDebugFunctionality
28 TUint32 GetDebugFunctionalityBufSize(void);
29 TBool GetDebugFunctionality(TDes8& aDFBlock);
30 TUint32 GetStopModeFunctionalityBufSize(void);
31 TBool GetStopModeFunctionality(TDes8& aDFBlock);
32 static TInt GetRegister(const Debug::TRegisterInfo aRegisterInfo, Debug::TTag& aTag);
33 static TUint32 GetMemoryOperationMaxBlockSize();
37 // Helper functions when assembling the buffer
38 void AppendBlock(const Debug::TSubBlock& aDFSubBlock, TDes8& aDFBlock);
39 TUint32 ComputeBlockSize(const Debug::TSubBlock& aDFSubBlock);
42 #endif // T_DEBUG_FUNCTIONALITY_H