|
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 * |
|
16 */ |
|
17 |
|
18 #ifndef MEMSPYDRIVEROPCODES_H |
|
19 #define MEMSPYDRIVEROPCODES_H |
|
20 |
|
21 enum TMemSpyDriverOpCode |
|
22 { |
|
23 // RAW MEMORY |
|
24 EMemSpyDriverOpCodeRawMemoryBase = 100, |
|
25 EMemSpyDriverOpCodeRawMemoryRead, |
|
26 EMemSpyDriverOpCodeRawMemoryEnd, |
|
27 |
|
28 // THREAD & PROCESS |
|
29 EMemSpyDriverOpCodeThreadAndProcessBase = 120, |
|
30 EMemSpyDriverOpCodeThreadAndProcessGetInfoThread, |
|
31 EMemSpyDriverOpCodeThreadAndProcessGetInfoProcess, |
|
32 EMemSpyDriverOpCodeThreadAndProcessEndThread, |
|
33 EMemSpyDriverOpCodeThreadAndProcessOpenThread, |
|
34 EMemSpyDriverOpCodeThreadAndProcessOpenProcess, |
|
35 EMemSpyDriverOpCodeThreadAndProcessSuspendAllThreads, |
|
36 EMemSpyDriverOpCodeThreadAndProcessResumeAllThreads, |
|
37 EMemSpyDriverOpCodeThreadAndProcessGetThreads, |
|
38 EMemSpyDriverOpCodeThreadAndProcessSetPriorityThread, |
|
39 EMemSpyDriverOpCodeThreadAndProcessEnd, |
|
40 |
|
41 // CODE SEGS |
|
42 EMemSpyDriverOpCodeCodeSegsBase = 140, |
|
43 EMemSpyDriverOpCodeCodeSegsGetAll, |
|
44 EMemSpyDriverOpCodeCodeSegsGetCodeSegsForProcess, |
|
45 EMemSpyDriverOpCodeCodeSegsGetCodeSegInfo, |
|
46 EMemSpyDriverOpCodeCodeSegsEnd, |
|
47 |
|
48 // CHUNKS |
|
49 EMemSpyDriverOpCodeChunkBase = 160, |
|
50 EMemSpyDriverOpCodeChunkGetHandles, |
|
51 EMemSpyDriverOpCodeChunkGetInfo, |
|
52 EMemSpyDriverOpCodeChunkEnd, |
|
53 |
|
54 // HEAP INFO |
|
55 EMemSpyDriverOpCodeHeapInfoBase = 180, |
|
56 EMemSpyDriverOpCodeHeapInfoGetUser, |
|
57 EMemSpyDriverOpCodeHeapInfoGetKernel, |
|
58 EMemSpyDriverOpCodeHeapInfoGetIsDebugKernel, |
|
59 EMemSpyDriverOpCodeHeapInfoFetchFreeCells, |
|
60 EMemSpyDriverOpCodeHeapInfoEnd, |
|
61 |
|
62 // HEAP DATA |
|
63 EMemSpyDriverOpCodeHeapDataBase = 200, |
|
64 EMemSpyDriverOpCodeHeapDataGetUser, |
|
65 EMemSpyDriverOpCodeHeapDataGetKernelInit, |
|
66 EMemSpyDriverOpCodeHeapDataGetKernelFetch, |
|
67 EMemSpyDriverOpCodeHeapDataEnd, |
|
68 |
|
69 // HEAP WALK |
|
70 EMemSpyDriverOpCodeWalkHeapBase = 220, |
|
71 EMemSpyDriverOpCodeWalkHeapInit, |
|
72 EMemSpyDriverOpCodeWalkHeapGetCellInfo, |
|
73 EMemSpyDriverOpCodeWalkHeapReadCellData, |
|
74 EMemSpyDriverOpCodeWalkHeapNextCell, |
|
75 EMemSpyDriverOpCodeWalkHeapClose, |
|
76 EMemSpyDriverOpCodeWalkHeapEnd, |
|
77 |
|
78 // STACK |
|
79 EMemSpyDriverOpCodeStackBase = 240, |
|
80 EMemSpyDriverOpCodeStackGetInfo, |
|
81 EMemSpyDriverOpCodeStackGetData, |
|
82 EMemSpyDriverOpCodeStackEnd, |
|
83 |
|
84 // CONTAINERS |
|
85 EMemSpyDriverOpCodeContainersBase = 260, |
|
86 EMemSpyDriverOpCodeContainersGetHandles, |
|
87 EMemSpyDriverOpCodeContainersGetHandleInfo, |
|
88 EMemSpyDriverOpCodeContainersGetApproxSize, |
|
89 EMemSpyDriverOpCodeContainersGetReferencesToMyThread, |
|
90 EMemSpyDriverOpCodeContainersGetReferencesToMyProcess, |
|
91 EMemSpyDriverOpCodeContainersGetPAndSInfo, |
|
92 EMemSpyDriverOpCodeContainersGetCondVarSuspendedThreads, |
|
93 EMemSpyDriverOpCodeContainersGetCondVarSuspendedThreadInfo, |
|
94 EMemSpyDriverOpCodeContainersEnd, |
|
95 |
|
96 // CLIENT SERVER |
|
97 EMemSpyDriverOpCodeClientServerBase = 280, |
|
98 EMemSpyDriverOpCodeClientServerGetServerSessionHandles, |
|
99 EMemSpyDriverOpCodeClientServerGetServerSessionInfo, |
|
100 EMemSpyDriverOpCodeClientServerEnd, |
|
101 |
|
102 // PROCESS INSPECTION |
|
103 EMemSpyDriverOpCodeProcessInspectBase = 300, |
|
104 EMemSpyDriverOpCodeProcessInspectOpen, |
|
105 EMemSpyDriverOpCodeProcessInspectClose, |
|
106 EMemSpyDriverOpCodeProcessInspectRequestChanges, |
|
107 EMemSpyDriverOpCodeProcessInspectRequestChangesCancel, |
|
108 EMemSpyDriverOpCodeProcessInspectAutoStartListReset, |
|
109 EMemSpyDriverOpCodeProcessInspectAutoStartListAdd, |
|
110 EMemSpyDriverOpCodeProcessInspectEnd, |
|
111 |
|
112 // EVENT MONITOR |
|
113 EMemSpyDriverOpCodeEventMonitorBase = 320, |
|
114 EMemSpyDriverOpCodeEventMonitorOpen, |
|
115 EMemSpyDriverOpCodeEventMonitorClose, |
|
116 EMemSpyDriverOpCodeEventMonitorNotify, |
|
117 EMemSpyDriverOpCodeEventMonitorNotifyCancel, |
|
118 EMemSpyDriverOpCodeEventMonitorEnd, |
|
119 |
|
120 // MISC |
|
121 EMemSpyDriverOpCodeMiscBase = 340, |
|
122 EMemSpyDriverOpCodeMiscSetRHeapVTable, |
|
123 EMemSpyDriverOpCodeMiscGetMemoryModelType, |
|
124 EMemSpyDriverOpCodeMiscGetRoundToPageSize, |
|
125 EMemSpyDriverOpCodeMiscImpersonate, |
|
126 EMemSpyDriverOpCodeMiscEnd, |
|
127 }; |
|
128 |
|
129 #endif |