|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Contains the declaration of TMemSpyChunkData class |
|
16 */ |
|
17 |
|
18 #ifndef MEMSPYCODESEGMENTDATA_H |
|
19 #define MEMSPYCODESEGMENTDATA_H |
|
20 |
|
21 #include <memspy/driver/memspydriverenumerationsshared.h> |
|
22 |
|
23 // TMemSpyCodeSegmentData class holds data to be sent to the UI |
|
24 class TMemSpyCodeSegmentData |
|
25 { |
|
26 public: |
|
27 //constructor & destructor |
|
28 inline TMemSpyCodeSegmentData() |
|
29 : iCodeSize(0), iTotalDataSize(0), iTextSize(0), iDataSize(0), iBssSize(0), iSecureId(0), iVendorId(0), iEntryPtVeneer(0), |
|
30 iFileEntryPoint(0), iDepCount(0), iCodeLoadAddress(0), iDataLoadAddress(0), iCapabilities1(0), iCapabilities2(0) |
|
31 { |
|
32 } |
|
33 |
|
34 public: |
|
35 TFullName iName; |
|
36 TInt iCodeSize; |
|
37 TInt iTotalDataSize; |
|
38 TInt iTextSize; |
|
39 TInt iDataSize; |
|
40 TInt iBssSize; |
|
41 TUidType iUids; |
|
42 TUint32 iModuleVersion; |
|
43 TUint32 iSecureId; |
|
44 TUint32 iVendorId; |
|
45 TUint32 iEntryPtVeneer; // address of first instruction to be called |
|
46 TUint32 iFileEntryPoint; // address of entry point within this code segment |
|
47 TInt iDepCount; |
|
48 TUint32 iCodeLoadAddress; // 0 for RAM loaded code, else pointer to TRomImageHeader |
|
49 TUint32 iDataLoadAddress; |
|
50 TUint32 iCapabilities1; |
|
51 TUint32 iCapabilities2; |
|
52 }; |
|
53 |
|
54 |
|
55 #endif // MEMSPYCODESEGMENTDATA_H |