equal
deleted
inserted
replaced
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Internal class used to assemble debug functionality data block |
|
15 // |
|
16 |
|
17 #ifndef T_DEBUG_FUNCTIONALITY_H |
|
18 #define T_DEBUG_FUNCTIONALITY_H |
|
19 |
|
20 /** |
|
21 * This class is used to represent and assemble the debug functionality |
|
22 * block |
|
23 */ |
|
24 class TDebugFunctionality |
|
25 { |
|
26 |
|
27 public: |
|
28 TUint32 GetDebugFunctionalityBufSize(void); |
|
29 TBool GetDebugFunctionality(TDes8& aDFBlock); |
|
30 static TInt GetRegister(const Debug::TRegisterInfo aRegisterInfo, Debug::TTag& aTag); |
|
31 static TUint32 GetMemoryOperationMaxBlockSize(); |
|
32 |
|
33 private: |
|
34 |
|
35 // Helper functions when assembling the buffer |
|
36 void AppendBlock(const Debug::TSubBlock& aDFSubBlock, TDes8& aDFBlock); |
|
37 TUint32 ComputeBlockSize(const Debug::TSubBlock& aDFSubBlock); |
|
38 }; |
|
39 |
|
40 #endif // T_DEBUG_FUNCTIONALITY_H |
|