0
|
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 the License "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 |
|
|
19 |
/**
|
|
20 |
@internalTechnology
|
|
21 |
@released
|
|
22 |
*/
|
|
23 |
|
|
24 |
#ifndef UTRACEEPBUSSDIO_H
|
|
25 |
#define UTRACEEPBUSSDIO_H
|
|
26 |
|
|
27 |
#ifdef _DEBUG
|
|
28 |
#define SYMBIAN_TRACE_EXECUTABLE_INCLUDE
|
|
29 |
#endif
|
|
30 |
|
|
31 |
#if !defined(_USE_UTRACE_)
|
|
32 |
|
|
33 |
/**
|
|
34 |
* Each trace point must be statically assigned a ModuleUid to indicate the
|
|
35 |
* module in which the trace point is defined. It is recommended that this
|
|
36 |
* value is the UID3 of the associated binary file.
|
|
37 |
*
|
|
38 |
* The ModuleUid and Classification attributes of a trace point are independent.
|
|
39 |
*/
|
|
40 |
typedef TUint32 TModuleUid;
|
|
41 |
|
|
42 |
/**
|
|
43 |
* This is a numerical value statically assigned to a trace point which will be used
|
|
44 |
* on the host to look-up the format of the associated trace packets.
|
|
45 |
*
|
|
46 |
* The meaning of a FormatId is specific to the ModuleUid and Category of the
|
|
47 |
* associated trace point.
|
|
48 |
*/
|
|
49 |
typedef TUint16 TFormatId;
|
|
50 |
|
|
51 |
/**
|
|
52 |
* The maximum possible value for TFormatId
|
|
53 |
*/
|
|
54 |
const static TFormatId KMaxFormatId = 65535; // 2^16 - 1
|
|
55 |
|
|
56 |
/**
|
|
57 |
* TFormatId used in packets produced by the Print and Printf
|
|
58 |
* functions.
|
|
59 |
*
|
|
60 |
* Note that this format should not be used on the
|
|
61 |
* device by clients of UTrace. This symbol is only marked
|
|
62 |
* as published to partners to give host side tools access to
|
|
63 |
* it.
|
|
64 |
* @internalTechnology
|
|
65 |
|
|
66 |
* @see TFormatId
|
|
67 |
*/
|
|
68 |
const static TFormatId KFormatPrintf = 0;
|
|
69 |
|
|
70 |
/**
|
|
71 |
* This value is intended to be used by clients to specify the
|
|
72 |
* start of the range of enums used to define their format ids.
|
|
73 |
*
|
|
74 |
* Any values between 0 up to this should not be used directly
|
|
75 |
* by clients of UTrace on the device.
|
|
76 |
*
|
|
77 |
* @see TFormatId
|
|
78 |
*/
|
|
79 |
const static TFormatId KInitialClientFormat = 512;
|
|
80 |
|
|
81 |
/**
|
|
82 |
* This value is intended to set the maximum size of a Printf call.
|
|
83 |
*/
|
|
84 |
const static TUint32 KMaxPrintfSize = 80;
|
|
85 |
|
|
86 |
/**
|
|
87 |
* The Classifications in the All range should be used by the majority of
|
|
88 |
* trace points. This range of Classifications are intended to identify which
|
|
89 |
* of the most common trace use-cases a trace point is contributing to.
|
|
90 |
* The Classifications in this series are defined solely by Symbian but are
|
|
91 |
* intended for use by any software on a device.
|
|
92 |
*
|
|
93 |
* @see TClassification
|
|
94 |
* @see TClassificationRange
|
|
95 |
* @see EAllRangeFirst
|
|
96 |
*/
|
|
97 |
enum TClassificationAll
|
|
98 |
{
|
|
99 |
/**
|
|
100 |
* Used when a panic has occurred or when providing information on the execution
|
|
101 |
* state that lead to the decision to panic.
|
|
102 |
*
|
|
103 |
* A trace point with this Classification indicates a fatal condition is about to
|
|
104 |
* occur which will halt the flow of program execution in the current thread.
|
|
105 |
*
|
|
106 |
* This Classification also provides information describing where a panic has been
|
|
107 |
* dealt with.
|
|
108 |
*
|
|
109 |
* EPanic = EAllRangeFirst
|
|
110 |
*/
|
|
111 |
EPanic = 192,
|
|
112 |
|
|
113 |
/**
|
|
114 |
* Used when an error has occurred that means the current operation cannot continue
|
|
115 |
* but isn’t sufficiently serious to cause a Panic. The trace points could contain
|
|
116 |
* not just the error code but any relevant information information about the
|
|
117 |
* execution state when the error occurred.
|
|
118 |
*
|
|
119 |
* To be used for all types of error and includes situations where the errors are
|
|
120 |
* returned from a function or in a Leave.
|
|
121 |
*
|
|
122 |
* This Classification also provides information describing where an error has been
|
|
123 |
* dealt with.
|
|
124 |
*/
|
|
125 |
EError = 193,
|
|
126 |
|
|
127 |
/**
|
|
128 |
* Used when something unexpected or unusual has occurred that does not stop the
|
|
129 |
* current operation from happening but may result in unintended side effects or
|
|
130 |
* actual errors later on.
|
|
131 |
*/
|
|
132 |
EWarning = 194,
|
|
133 |
|
|
134 |
/**
|
|
135 |
* Used to detail normal activity at the edges of a module. Does not include errors
|
|
136 |
* or warnings as these are covered in other Classifications.
|
|
137 |
*
|
|
138 |
* Includes data about exported or published functions defined by module as well as
|
|
139 |
* calls out of the module to get significant information. Exactly what is significant
|
|
140 |
* is for the module owner to decide. For example, getting the contents of an .ini file to
|
|
141 |
* determine which configuration to use might be significant but calling RArray::Count()
|
|
142 |
* would not be.
|
|
143 |
*
|
|
144 |
* The information in this Classification should be enough to allow someone unfamiliar
|
|
145 |
* with the trace module to get a high level understanding of what functionality it has
|
|
146 |
* executed.
|
|
147 |
*/
|
|
148 |
EBorder = 195,
|
|
149 |
|
|
150 |
/**
|
|
151 |
* Intended for tracing the state transitions of an application or service such as those
|
|
152 |
* performed by a machine.
|
|
153 |
*
|
|
154 |
* Trace packet’s using this Classification should contain the name of the
|
|
155 |
* changed state variable and the new value.
|
|
156 |
*/
|
|
157 |
EState = 196,
|
|
158 |
|
|
159 |
/**
|
|
160 |
* Used to provide detailed information about the normal activity of a module
|
|
161 |
* to help a developer, who is familiar with the module, to understand what it is doing.
|
|
162 |
*
|
|
163 |
* Does not include errors or warnings as those are covered in other Classifications.
|
|
164 |
*/
|
|
165 |
EInternals = 197,
|
|
166 |
|
|
167 |
/**
|
|
168 |
* Used when there is a need to output large amounts of data through individual trace
|
|
169 |
* points that would likely cause significant intrusion if included under one of the
|
|
170 |
* other Classifications.
|
|
171 |
*
|
|
172 |
* This Classification in intended to be used in conjunction with the Internals
|
|
173 |
* Classification to provide more details when debugging a specific module.
|
|
174 |
*/
|
|
175 |
EDump = 198,
|
|
176 |
|
|
177 |
/**
|
|
178 |
* Used to provide comprehensive information on what paths the execution takes within
|
|
179 |
* functions.
|
|
180 |
*
|
|
181 |
* This Classification is intended only to be assigned by tools that add temporary
|
|
182 |
* instrumentation points specifically to output this data.
|
|
183 |
*/
|
|
184 |
EFlow = 199,
|
|
185 |
|
|
186 |
/**
|
|
187 |
* Used to output data about the execution time, memory usage, disk usage, power
|
|
188 |
* utilisation and other system characteristics of the trace module.
|
|
189 |
*
|
|
190 |
* This data may need to be processed before it can provide affective metrics. E.g.
|
|
191 |
* the time between two timestamps might need to be computed.
|
|
192 |
*
|
|
193 |
* Intended only to be used to output system characteristic data that requires the
|
|
194 |
* smallest possible intrusion.
|
|
195 |
*/
|
|
196 |
ESystemCharacteristicMetrics = 200,
|
|
197 |
|
|
198 |
/**
|
|
199 |
* Can be used when adding ad-hoc / temporary trace points if there’s a need to
|
|
200 |
* distinguish it from existing trace.
|
|
201 |
*/
|
|
202 |
EAdhoc = 201,
|
|
203 |
|
|
204 |
/**
|
|
205 |
* Provided to allow the following compile time assert:
|
|
206 |
* EClassificationAllHighWaterMark <= EAllRangeLast + 1
|
|
207 |
*
|
|
208 |
* @internalTechnology
|
|
209 |
*/
|
|
210 |
EClassificationAllHighWaterMark,
|
|
211 |
};
|
|
212 |
|
|
213 |
class TTraceContext
|
|
214 |
/**
|
|
215 |
* Class to encapsulate the trace context
|
|
216 |
*
|
|
217 |
* @internalTechnology
|
|
218 |
*/
|
|
219 |
{
|
|
220 |
public:
|
|
221 |
TTraceContext(TClassificationAll aClassification) : iClassification(aClassification) {};
|
|
222 |
TModuleUid DefaultModuleUid();
|
|
223 |
public:
|
|
224 |
TClassificationAll iClassification;
|
|
225 |
};
|
|
226 |
|
|
227 |
/**
|
|
228 |
* Function to create a UTF Printf style trace record
|
|
229 |
*
|
|
230 |
* @internalTechnology
|
|
231 |
*/
|
|
232 |
void Printf(TTraceContext aTraceContext, const char* aFmt, ...);
|
|
233 |
|
|
234 |
/**
|
|
235 |
* Function to create a UTF style trace record without parameters
|
|
236 |
*
|
|
237 |
* @internalTechnology
|
|
238 |
*/
|
|
239 |
void Trace(TTraceContext aTraceContext, TFormatId aFormatId);
|
|
240 |
|
|
241 |
/**
|
|
242 |
* Function to create a UTF style trace record with 1 TUint32 parameter
|
|
243 |
*
|
|
244 |
* @internalTechnology
|
|
245 |
*/
|
|
246 |
void Trace(TTraceContext aTraceContext, TFormatId aFormatId, TUint32 aA1);
|
|
247 |
|
|
248 |
/**
|
|
249 |
* Function to create a UTF style trace record with 2 TUint32 parameters
|
|
250 |
*
|
|
251 |
* @internalTechnology
|
|
252 |
*/
|
|
253 |
void Trace(TTraceContext aTraceContext, TFormatId aFormatId, TUint32 aA1, TUint32 aA2);
|
|
254 |
|
|
255 |
/**
|
|
256 |
* Function to create a UTF style trace record with variable length byte data
|
|
257 |
*
|
|
258 |
* @internalTechnology
|
|
259 |
*/
|
|
260 |
void Trace(TTraceContext aTraceContext, TFormatId aFormatId, TUint8* aPtr, TUint32 aLen);
|
|
261 |
|
|
262 |
#else
|
|
263 |
|
|
264 |
|
|
265 |
#include "e32utrace_basic_types.h"
|
|
266 |
using namespace UTF;
|
|
267 |
|
|
268 |
#endif
|
|
269 |
|
|
270 |
/**
|
|
271 |
Enable this macro to compile in the SDIO driver trace points that trace out all bus
|
|
272 |
traffic passing to or from the SDIO card operations.
|
|
273 |
|
|
274 |
@SymTraceMacro
|
|
275 |
*/
|
|
276 |
//#define SYMBIAN_TRACE_SDIO_DUMP
|
|
277 |
|
|
278 |
#if defined(SYMBIAN_TRACE_SDIO_DUMP)
|
|
279 |
#define SYMBIAN_TRACE_SDIO_DUMP_ONLY(c) c
|
|
280 |
#else
|
|
281 |
#define SYMBIAN_TRACE_SDIO_DUMP_ONLY(c)
|
|
282 |
#endif
|
|
283 |
|
|
284 |
/**
|
|
285 |
Enable this macro to compile in the SDIO driver trace points that trace out all previous
|
|
286 |
Kern::Printf verbose debug information.
|
|
287 |
|
|
288 |
@SymTraceMacro
|
|
289 |
*/
|
|
290 |
//#define SYMBIAN_TRACE_SDIO_VERBOSE
|
|
291 |
|
|
292 |
#if defined(SYMBIAN_TRACE_SDIO_VERBOSE)
|
|
293 |
#define SYMBIAN_TRACE_SDIO_VERBOSE_ONLY(c) c
|
|
294 |
#else
|
|
295 |
#define SYMBIAN_TRACE_SDIO_VERBOSE_ONLY(c)
|
|
296 |
#endif
|
|
297 |
|
|
298 |
/**
|
|
299 |
The scope of this module is for the SDIO classes, specifically the PIL of SDIO
|
|
300 |
*/
|
|
301 |
namespace UTraceModuleEPBusSDIO
|
|
302 |
{
|
|
303 |
|
|
304 |
/**
|
|
305 |
@SymTraceModuleUid
|
|
306 |
*/
|
|
307 |
const static TModuleUid KModuleUid = 0x10004087;
|
|
308 |
|
|
309 |
enum FormatId
|
|
310 |
{
|
|
311 |
/**
|
|
312 |
This format is called when data is written to the SDIO bus
|
|
313 |
|
|
314 |
@SymTraceFormatString "Data written to SDIO"
|
|
315 |
*/
|
|
316 |
ESDIOWrite = KInitialClientFormat,
|
|
317 |
|
|
318 |
/**
|
|
319 |
This format is called when data is about to be read from the SDIO bus
|
|
320 |
|
|
321 |
@SymTraceFormatString "Data read pending from SDIO"
|
|
322 |
*/
|
|
323 |
ESDIORead, // 0x201
|
|
324 |
|
|
325 |
/**
|
|
326 |
This format is called when a register is modified
|
|
327 |
|
|
328 |
@SymTraceFormatString "Register modified, set %02X, clear %02X"
|
|
329 |
*/
|
|
330 |
ESDIOModified, // 0x202
|
|
331 |
|
|
332 |
/**
|
|
333 |
This format is called when data has been read from the SDIO bus
|
|
334 |
|
|
335 |
@SymTraceFormatString "Data read from SDIO"
|
|
336 |
*/
|
|
337 |
ESDIOReadComplete, // 0x203
|
|
338 |
|
|
339 |
/**
|
|
340 |
This format is called when a read/write operation has completed
|
|
341 |
|
|
342 |
@SymTraceFormatString "Operation completed in %d ticks"
|
|
343 |
*/
|
|
344 |
ESDIOOperationComplete, // 0x204
|
|
345 |
|
|
346 |
/**
|
|
347 |
This format is called when a new function callback is registered for a socket
|
|
348 |
|
|
349 |
@SymTraceFormatString "%08X: >TSDIOFunctionCallback::Register, function callback registered for socket %08X"
|
|
350 |
*/
|
|
351 |
ESDIOFunctionCallbackRegistered,
|
|
352 |
|
|
353 |
/**
|
|
354 |
This format is called after a new function callback is registered for a socket
|
|
355 |
|
|
356 |
@SymTraceFormatString "%08X: <TSDIOFunctionCallback::Register"
|
|
357 |
*/
|
|
358 |
ESDIOFunctionCallbackRegisteredReturning,
|
|
359 |
|
|
360 |
/**
|
|
361 |
This format is called when a TCisReader object is constructed
|
|
362 |
|
|
363 |
@SymTraceFormatString "%08X: >TCisReader::TCisReader, Constructing TCisReader"
|
|
364 |
*/
|
|
365 |
ESDIOTCisReaderConstructor,
|
|
366 |
|
|
367 |
/**
|
|
368 |
This format is called after a TCisReader object is constructed
|
|
369 |
|
|
370 |
@SymTraceFormatString "%08X: <TCisReader::TCisReader"
|
|
371 |
*/
|
|
372 |
ESDIOTCisReaderConstructorReturning,
|
|
373 |
|
|
374 |
/**
|
|
375 |
This format is called when a Cis (Card Information Structure) is selected for a card
|
|
376 |
|
|
377 |
@SymTraceFormatString "%08X: >TCisReader::SelectCis, Selecting CIS for Card %d"
|
|
378 |
*/
|
|
379 |
ESDIOTCisSelectCis,
|
|
380 |
|
|
381 |
/**
|
|
382 |
This format is called after a Cis (Card Information Structure) is selected for a card
|
|
383 |
|
|
384 |
@SymTraceFormatString "%08X: <TCisReader::SelectCis, Error code %d"
|
|
385 |
*/
|
|
386 |
ESDIOTCisSelectCisReturning,
|
|
387 |
|
|
388 |
/**
|
|
389 |
This format is called when a memory allocation failed for a socket
|
|
390 |
|
|
391 |
@SymTraceFormatString "%08X: Error creating socket. Out Of Memory.
|
|
392 |
*/
|
|
393 |
ESDIOSocketOOM,
|
|
394 |
|
|
395 |
/**
|
|
396 |
This format is called when a memory allocation failed for a stack
|
|
397 |
|
|
398 |
@SymTraceFormatString "%08X: Error creating stack. Out Of Memory.
|
|
399 |
*/
|
|
400 |
ESDIOStackOOM,
|
|
401 |
|
|
402 |
/**
|
|
403 |
This format is called when a memory allocation failed for a card
|
|
404 |
|
|
405 |
@SymTraceFormatString "%08X: Error creating card. Out Of Memory.
|
|
406 |
*/
|
|
407 |
ESDIOCardOOM,
|
|
408 |
|
|
409 |
/**
|
|
410 |
This format is called when the CIS (Card Information Structure) reader will be reset to the start of the CIS
|
|
411 |
|
|
412 |
@SymTraceFormatString "%08X: Restart CIS Reader"
|
|
413 |
*/
|
|
414 |
ESDIOTCisRestart,
|
|
415 |
|
|
416 |
/**
|
|
417 |
This format is called when a specified CIS tuple is going to be located and read
|
|
418 |
|
|
419 |
@SymTraceFormatString "%08X: >TCisReader::FindReadTuple, Find and read tuple %d"
|
|
420 |
*/
|
|
421 |
ESDIOTCisFindReadTuple,
|
|
422 |
|
|
423 |
/**
|
|
424 |
This format is called after a specified CIS tuple is located and read
|
|
425 |
|
|
426 |
@SymTraceFormatString "%08X: <TCisReader::FindReadTuple, Error code %d"
|
|
427 |
*/
|
|
428 |
ESDIOTCisFindReadTupleReturning,
|
|
429 |
|
|
430 |
/**
|
|
431 |
This format is called when a specified CIS tuple is going to be read from the current offset
|
|
432 |
|
|
433 |
@SymTraceFormatString "%08X: >TCisReader::ReadTuple, Read tuple from current offset"
|
|
434 |
*/
|
|
435 |
ESDIOTCisReadTuple,
|
|
436 |
|
|
437 |
/**
|
|
438 |
This format is after a specified CIS tuple is read from the current offset
|
|
439 |
|
|
440 |
@SymTraceFormatString "%08X: <TCisReader::ReadTuple, Error code %d"
|
|
441 |
*/
|
|
442 |
ESDIOTCisReadTupleReturning,
|
|
443 |
|
|
444 |
/**
|
|
445 |
This format is called when the card common config is going to be located and read
|
|
446 |
|
|
447 |
@SymTraceFormatString "%08X: >TCisReader::FindReadCommonConfig, Find and read common config"
|
|
448 |
*/
|
|
449 |
ESDIOTCisFindReadCommonConfig,
|
|
450 |
|
|
451 |
/**
|
|
452 |
This format is called after the card common config is located and read
|
|
453 |
|
|
454 |
@SymTraceFormatString "%08X: <TCisReader::FindReadCommonConfig, Error code %d"
|
|
455 |
*/
|
|
456 |
ESDIOTCisFindReadCommonConfigReturning,
|
|
457 |
|
|
458 |
/**
|
|
459 |
This format is called when the function config is located and read
|
|
460 |
|
|
461 |
@SymTraceFormatString "%08X: >TCisReader::FindReadFunctionConfig, Find and read function config"
|
|
462 |
*/
|
|
463 |
ESDIOTCisFindReadFunctionConfig,
|
|
464 |
|
|
465 |
/**
|
|
466 |
This format is called after the function config is located and read
|
|
467 |
|
|
468 |
@SymTraceFormatString "%08X: <TCisReader::FindReadFunctionConfig, Error code %d"
|
|
469 |
*/
|
|
470 |
ESDIOTCisFindReadFunctionConfigReturning,
|
|
471 |
|
|
472 |
/**
|
|
473 |
This format is called when a new function is being created for a card
|
|
474 |
|
|
475 |
@SymTraceFormatString "%08X: >TSDIOFunction::TSDIOFunction, New function created for Card %08X, Function Number %d"
|
|
476 |
*/
|
|
477 |
ESDIOTSDIOFunctionConstructor,
|
|
478 |
|
|
479 |
/**
|
|
480 |
This format is called after a new function is created for a card
|
|
481 |
|
|
482 |
@SymTraceFormatString "%08X: <TSDIOFunction::TSDIOFunction"
|
|
483 |
*/
|
|
484 |
ESDIOTSDIOFunctionConstructorReturning,
|
|
485 |
|
|
486 |
/**
|
|
487 |
This format is called when a function is being destroyed
|
|
488 |
|
|
489 |
@SymTraceFormatString "%08X: >TSDIOFunction::~TSDIOFunction, Function Destructing"
|
|
490 |
*/
|
|
491 |
ESDIOTSDIOFunctionDestructor,
|
|
492 |
|
|
493 |
/**
|
|
494 |
This format is called after a function is destroyed
|
|
495 |
|
|
496 |
@SymTraceFormatString "%08X: <TSDIOFunction::~TSDIOFunction"
|
|
497 |
*/
|
|
498 |
ESDIOTSDIOFunctionDestructorReturning,
|
|
499 |
|
|
500 |
/**
|
|
501 |
This format is called when a client is being registered for a function
|
|
502 |
|
|
503 |
@SymTraceFormatString "%08X: >TSDIOFunction::RegisterClient, Registering a client %08X for the function"
|
|
504 |
*/
|
|
505 |
ESDIOTSDIOFunctionRegisterClient,
|
|
506 |
|
|
507 |
/**
|
|
508 |
This format is called when a client is being registered for a function
|
|
509 |
|
|
510 |
@SymTraceFormatString "%08X: <TSDIOFunction::RegisterClient, Error code %d"
|
|
511 |
*/
|
|
512 |
ESDIOTSDIOFunctionRegisterClientReturning,
|
|
513 |
|
|
514 |
/**
|
|
515 |
This format is called when a client is being registered for a function
|
|
516 |
|
|
517 |
@SymTraceFormatString "%08X: DSDIORegisterInterface cannot be created. Out Of Memory."
|
|
518 |
*/
|
|
519 |
ESDIOTSDIOFunctionRegisterClientOOM,
|
|
520 |
|
|
521 |
/**
|
|
522 |
This format is called when a client is being deregistered for a function
|
|
523 |
|
|
524 |
@SymTraceFormatString "%08X: >TSDIOFunction::DeregisterClient, Unregistering a client %08X for the function"
|
|
525 |
*/
|
|
526 |
ESDIOTSDIOFunctionDeregisterClient,
|
|
527 |
|
|
528 |
/**
|
|
529 |
This format is called after a client is deregistered for a function
|
|
530 |
|
|
531 |
@SymTraceFormatString "%08X: <TSDIOFunction::DeregisterClient, Error code %d"
|
|
532 |
*/
|
|
533 |
ESDIOTSDIOFunctionDeregisterClientReturning,
|
|
534 |
|
|
535 |
/**
|
|
536 |
This format is called when a function is being enabled
|
|
537 |
|
|
538 |
@SymTraceFormatString "%08X: >TSDIOFunction::Enable, Enabling function"
|
|
539 |
*/
|
|
540 |
ESDIOTSDIOFunctionEnable,
|
|
541 |
|
|
542 |
/**
|
|
543 |
This format is called after a function is enabled
|
|
544 |
|
|
545 |
@SymTraceFormatString "%08X: <TSDIOFunction::Enable, Error code %d"
|
|
546 |
*/
|
|
547 |
ESDIOTSDIOFunctionEnableReturning,
|
|
548 |
|
|
549 |
/**
|
|
550 |
This format is called when a function is being disabled
|
|
551 |
|
|
552 |
@SymTraceFormatString "%08X: >TSDIOFunction::Disable, Disabling function"
|
|
553 |
*/
|
|
554 |
ESDIOTSDIOFunctionDisable,
|
|
555 |
|
|
556 |
/**
|
|
557 |
This format is called after a function is being disabled
|
|
558 |
|
|
559 |
@SymTraceFormatString "%08X: <TSDIOFunction::Disable, Error code %d"
|
|
560 |
*/
|
|
561 |
ESDIOTSDIOFunctionDisableReturning,
|
|
562 |
|
|
563 |
/**
|
|
564 |
This format is called when a function is being checked to see if it is powered up and ready
|
|
565 |
|
|
566 |
@SymTraceFormatString "%08X: >TSDIOFunction::IsReady, Checking the state of a function"
|
|
567 |
*/
|
|
568 |
ESDIOTSDIOFunctionIsReady,
|
|
569 |
|
|
570 |
/**
|
|
571 |
This format is called after a function is checked to see if it is powered up and ready
|
|
572 |
|
|
573 |
@SymTraceFormatString "%08X: <TSDIOFunction::IsReady, Function readyness is %d, Error code %d"
|
|
574 |
*/
|
|
575 |
ESDIOTSDIOFunctionIsReadyReturning,
|
|
576 |
|
|
577 |
/**
|
|
578 |
This format is called when a function's priority is being set
|
|
579 |
|
|
580 |
@SymTraceFormatString "%08X: >TSDIOFunction::SetPriority, Function priority set to %d"
|
|
581 |
*/
|
|
582 |
ESDIOTSDIOFunctionSetPriority,
|
|
583 |
|
|
584 |
/**
|
|
585 |
This format is called when a function's priority is being set
|
|
586 |
|
|
587 |
@SymTraceFormatString "%08X: <TSDIOFunction::SetPriority, Error code %d"
|
|
588 |
*/
|
|
589 |
ESDIOTSDIOFunctionSetPriorityReturning,
|
|
590 |
|
|
591 |
/**
|
|
592 |
This format is called to check a functios's capabilities match a specified criteria
|
|
593 |
|
|
594 |
@SymTraceFormatString "%08X: >TSDIOFunctionCaps::CapabilitiesMatch, Checking the function capabilities match flags %08X"
|
|
595 |
*/
|
|
596 |
ESDIOTSDIOFunctionCapabilitiesMatch,
|
|
597 |
|
|
598 |
/**
|
|
599 |
This format is called to show the status of a capabalities match check
|
|
600 |
|
|
601 |
@SymTraceFormatString "%08X: <TSDIOFunctionCaps::CapabilitiesMatch, Capability Match Check : %d"
|
|
602 |
*/
|
|
603 |
ESDIOTSDIOFunctionCapabilitiesMatchReturning,
|
|
604 |
|
|
605 |
/**
|
|
606 |
This format is called when an interrupt is created for a function
|
|
607 |
|
|
608 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::TSDIOInterrupt, New interrupt created for for function %d"
|
|
609 |
*/
|
|
610 |
ESDIOTSDIOInterruptConstructor,
|
|
611 |
|
|
612 |
/**
|
|
613 |
This format is called when an interrupt has been created for a function
|
|
614 |
|
|
615 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::TSDIOInterrupt"
|
|
616 |
*/
|
|
617 |
ESDIOTSDIOInterruptConstructorReturning,
|
|
618 |
|
|
619 |
/**
|
|
620 |
This format is called when an interrupt is being destroyed
|
|
621 |
|
|
622 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::~TSDIOInterrupt, Interrupt being destroyed"
|
|
623 |
*/
|
|
624 |
ESDIOTSDIOInterruptDestructor,
|
|
625 |
|
|
626 |
/**
|
|
627 |
This format is called when after an interrupt is destroyed
|
|
628 |
|
|
629 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::~TSDIOInterrupt"
|
|
630 |
*/
|
|
631 |
ESDIOTSDIOInterruptDestructorReturning,
|
|
632 |
|
|
633 |
/**
|
|
634 |
This format is called when an interrupt is being bound
|
|
635 |
|
|
636 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::Bind, Interrupt being bound to ISR %08X"
|
|
637 |
*/
|
|
638 |
ESDIOTSDIOInterruptBind,
|
|
639 |
|
|
640 |
/**
|
|
641 |
This format is called after an interrupt has been bound
|
|
642 |
|
|
643 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::Bind, Error code %d"
|
|
644 |
*/
|
|
645 |
ESDIOTSDIOInterruptBindReturning,
|
|
646 |
|
|
647 |
/**
|
|
648 |
This format is called when an interrupt is being unbound
|
|
649 |
|
|
650 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::Unbind, Interrupt being unbound"
|
|
651 |
*/
|
|
652 |
ESDIOTSDIOInterruptUnbind,
|
|
653 |
|
|
654 |
/**
|
|
655 |
This format is called after an interrupt has been unbound
|
|
656 |
|
|
657 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::Unbind, Error code %d"
|
|
658 |
*/
|
|
659 |
ESDIOTSDIOInterruptUnbindReturning,
|
|
660 |
|
|
661 |
/**
|
|
662 |
This format is called when an interrupt is being enabled
|
|
663 |
|
|
664 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::Enable, Interrupt enabled"
|
|
665 |
*/
|
|
666 |
ESDIOTSDIOInterruptEnable,
|
|
667 |
|
|
668 |
/**
|
|
669 |
This format is called after an interrupt has been enabled
|
|
670 |
|
|
671 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::Enable, Error code %d"
|
|
672 |
*/
|
|
673 |
ESDIOTSDIOInterruptEnableReturning,
|
|
674 |
|
|
675 |
/**
|
|
676 |
This format is called when an interrupt is being disabled
|
|
677 |
|
|
678 |
@SymTraceFormatString "%08X: >TSDIOInterrupt::Disable, Interrupt disabled"
|
|
679 |
*/
|
|
680 |
ESDIOTSDIOInterruptDisable,
|
|
681 |
|
|
682 |
/**
|
|
683 |
This format is called after an interrupt has been disabled
|
|
684 |
|
|
685 |
@SymTraceFormatString "%08X: <TSDIOInterrupt::Disable, Error code %d"
|
|
686 |
*/
|
|
687 |
ESDIOTSDIOInterruptDisableReturning,
|
|
688 |
|
|
689 |
/**
|
|
690 |
This format is called when a DSDIORegisterInterface is being created
|
|
691 |
|
|
692 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::DSDIORegisterInterface, Register interface being created for card %08X, Function number %d"
|
|
693 |
*/
|
|
694 |
ESDIODSDIORegisterInterfaceConstructor,
|
|
695 |
|
|
696 |
/**
|
|
697 |
This format is called after a DSDIORegisterInterface has been created
|
|
698 |
|
|
699 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::DSDIORegisterInterface"
|
|
700 |
*/
|
|
701 |
ESDIODSDIORegisterInterfaceConstructorReturning,
|
|
702 |
|
|
703 |
/**
|
|
704 |
This format is called when a DSDIORegisterInterface is destroying
|
|
705 |
|
|
706 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::~DSDIORegisterInterface, Register interface destroying"
|
|
707 |
*/
|
|
708 |
ESDIODSDIORegisterInterfaceDestructor,
|
|
709 |
|
|
710 |
/**
|
|
711 |
This format is called after a DSDIORegisterInterface is destroyed
|
|
712 |
|
|
713 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::~DSDIORegisterInterface"
|
|
714 |
*/
|
|
715 |
ESDIODSDIORegisterInterfaceDestructorReturning,
|
|
716 |
|
|
717 |
/**
|
|
718 |
This format is called when a DSDIORegisterInterface read operation is being performed
|
|
719 |
|
|
720 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::Read8, Register interface read of %d byte(s)"
|
|
721 |
*/
|
|
722 |
ESDIODSDIORegisterInterfaceRead,
|
|
723 |
|
|
724 |
/**
|
|
725 |
This format is called after a DSDIORegisterInterface read operation has been performed
|
|
726 |
|
|
727 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::Read8, Error code %d"
|
|
728 |
*/
|
|
729 |
ESDIODSDIORegisterInterfaceReadReturning,
|
|
730 |
|
|
731 |
/**
|
|
732 |
This format is called when a DSDIORegisterInterface write operation is being performed
|
|
733 |
|
|
734 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::Write8, Register interface write of %d byte(s)"
|
|
735 |
*/
|
|
736 |
ESDIODSDIORegisterInterfaceWrite,
|
|
737 |
|
|
738 |
/**
|
|
739 |
This format is called after a DSDIORegisterInterface write operation has been being performed
|
|
740 |
|
|
741 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::Write8, Error code %d"
|
|
742 |
*/
|
|
743 |
ESDIODSDIORegisterInterfaceWriteReturning,
|
|
744 |
|
|
745 |
/**
|
|
746 |
This format is called when a DSDIORegisterInterface modify operation is being performed
|
|
747 |
|
|
748 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::Modify8, Register interface modify"
|
|
749 |
*/
|
|
750 |
ESDIODSDIORegisterInterfaceModify,
|
|
751 |
|
|
752 |
/**
|
|
753 |
This format is called after a DSDIORegisterInterface modify operation has been performed
|
|
754 |
|
|
755 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::Modify8, Error code %d"
|
|
756 |
*/
|
|
757 |
ESDIODSDIORegisterInterfaceModifyReturning,
|
|
758 |
|
|
759 |
/**
|
|
760 |
This format is called when a DSDIORegisterInterface read multiple operation is being performed
|
|
761 |
|
|
762 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::ReadMultiple8, Register interface multiple read of %d byte(s)"
|
|
763 |
*/
|
|
764 |
ESDIODSDIORegisterInterfaceReadMultiple,
|
|
765 |
|
|
766 |
/**
|
|
767 |
This format is called after a DSDIORegisterInterface read multiple operation has been performed
|
|
768 |
|
|
769 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::ReadMultiple8, Error code %d"
|
|
770 |
*/
|
|
771 |
ESDIODSDIORegisterInterfaceReadMultipleReturning,
|
|
772 |
|
|
773 |
/**
|
|
774 |
This format is called when a DSDIORegisterInterface read multiple chunk operation is being performed
|
|
775 |
|
|
776 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::ReadMultiple8, Register interface multiple read of %d byte(s) using chunk"
|
|
777 |
*/
|
|
778 |
ESDIODSDIORegisterInterfaceReadMultipleChunk,
|
|
779 |
|
|
780 |
/**
|
|
781 |
This format is called after a DSDIORegisterInterface read multiple chunk operation has been performed
|
|
782 |
|
|
783 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::ReadMultiple8, Error code %d"
|
|
784 |
*/
|
|
785 |
ESDIODSDIORegisterInterfaceReadMultipleChunkReturning,
|
|
786 |
|
|
787 |
/**
|
|
788 |
This format is called when a DSDIORegisterInterface write multiple operation is being performed
|
|
789 |
|
|
790 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::WriteMultiple8, Register interface write multiple of %d byte(s)"
|
|
791 |
*/
|
|
792 |
ESDIODSDIORegisterInterfaceWriteMultiple,
|
|
793 |
|
|
794 |
/**
|
|
795 |
This format is called after a DSDIORegisterInterface write multiple operation has been performed
|
|
796 |
|
|
797 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::WriteMultiple8, Error code %d"
|
|
798 |
*/
|
|
799 |
ESDIODSDIORegisterInterfaceWriteMultipleReturning,
|
|
800 |
|
|
801 |
/**
|
|
802 |
This format is called when a DSDIORegisterInterface write multiple chunk operation is being performed
|
|
803 |
|
|
804 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::WriteMultiple8, Register interface write multiple of %d byte(s) using chunks"
|
|
805 |
*/
|
|
806 |
ESDIODSDIORegisterInterfaceWriteMultipleChunk,
|
|
807 |
|
|
808 |
/**
|
|
809 |
This format is called after a DSDIORegisterInterface write multiple chunk operation has been performed
|
|
810 |
|
|
811 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::WriteMultiple8, Error code %d"
|
|
812 |
*/
|
|
813 |
ESDIODSDIORegisterInterfaceWriteMultipleChunkReturning,
|
|
814 |
|
|
815 |
/**
|
|
816 |
This format is called when a DSDIORegisterInterface set bus width is performed
|
|
817 |
|
|
818 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::SetBusWidth, attempt to set bus width to %d bits"
|
|
819 |
*/
|
|
820 |
ESDIODSDIORegisterInterfaceSetBusWidth,
|
|
821 |
|
|
822 |
/**
|
|
823 |
This format is called after a DSDIORegisterInterface set bus width has been performed
|
|
824 |
|
|
825 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::SetBusWidth, Error code %d"
|
|
826 |
*/
|
|
827 |
ESDIODSDIORegisterInterfaceSetBusWidthReturning,
|
|
828 |
|
|
829 |
/**
|
|
830 |
This format is called when a DSDIORegisterInterface object is set to respond asynchronously
|
|
831 |
|
|
832 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::SetAsync, Register interface set to async"
|
|
833 |
*/
|
|
834 |
ESDIODSDIORegisterInterfaceSetAsync,
|
|
835 |
|
|
836 |
/**
|
|
837 |
This format is called after a DSDIORegisterInterface object is set to respond asynchronously
|
|
838 |
|
|
839 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::SetAsync, Success"
|
|
840 |
*/
|
|
841 |
ESDIODSDIORegisterInterfaceSetAsyncReturning,
|
|
842 |
|
|
843 |
/**
|
|
844 |
This format is called when a DSDIORegisterInterface object is set to respond synchronously
|
|
845 |
|
|
846 |
@SymTraceFormatString "%08X: >DSDIORegisterInterface::SetSync, Register interface set to sync"
|
|
847 |
*/
|
|
848 |
ESDIODSDIORegisterInterfaceSetSync,
|
|
849 |
|
|
850 |
/**
|
|
851 |
This format is called after a DSDIORegisterInterface object is set to respond synchronously
|
|
852 |
|
|
853 |
@SymTraceFormatString "%08X: <DSDIORegisterInterface::SetSync, Success"
|
|
854 |
*/
|
|
855 |
ESDIODSDIORegisterInterfaceSetSyncReturning,
|
|
856 |
|
|
857 |
/**
|
|
858 |
This format is called when a DSDIORegisterInterface operation is complete
|
|
859 |
|
|
860 |
@SymTraceFormatString "%08X: Register interface operation complete, error %d"
|
|
861 |
*/
|
|
862 |
ESDIODSDIORegisterInterfaceOpComplete,
|
|
863 |
|
|
864 |
/**
|
|
865 |
This format is called when a TSDIOCardConfig is constructed
|
|
866 |
|
|
867 |
@SymTraceFormatString "%08X: >TSDIOCardConfig::TSDIOCardConfig, New card config created"
|
|
868 |
*/
|
|
869 |
ESDIODSDIOCardConfigConstructor,
|
|
870 |
|
|
871 |
/**
|
|
872 |
This format is called after a TSDIOCardConfig is constructed
|
|
873 |
|
|
874 |
@SymTraceFormatString "%08X: <TSDIOCardConfig::TSDIOCardConfig"
|
|
875 |
*/
|
|
876 |
ESDIODSDIOCardConfigConstructorReturning,
|
|
877 |
|
|
878 |
/**
|
|
879 |
This format is called when a request an attempt to find a function on a card is made
|
|
880 |
|
|
881 |
@SymTraceFormatString "%08X: >TSDIOCard::FindFunction, Find function which matches flags %08X"
|
|
882 |
*/
|
|
883 |
ESDIOTSDIOCardFindFunction,
|
|
884 |
|
|
885 |
/**
|
|
886 |
This format is called after a request to find a function on a card is made
|
|
887 |
|
|
888 |
@SymTraceFormatString "%08X: <TSDIOCard::FindFunction, Function ptr returning %08X"
|
|
889 |
*/
|
|
890 |
ESDIOTSDIOCardFindFunctionReturning,
|
|
891 |
|
|
892 |
/**
|
|
893 |
This format is called the card's CIS is being parsed
|
|
894 |
|
|
895 |
@SymTraceFormatString "%08X: >TSDIOCard::CheckCIS, Parse card's CIS"
|
|
896 |
*/
|
|
897 |
ESDIOTSDIOCardCheckCIS,
|
|
898 |
|
|
899 |
/**
|
|
900 |
This format is called after the card's CIS has been parsed
|
|
901 |
|
|
902 |
@SymTraceFormatString "%08X: <TSDIOCard::CheckCIS, Error code %d"
|
|
903 |
*/
|
|
904 |
ESDIOTSDIOCardCheckCISReturning,
|
|
905 |
|
|
906 |
/**
|
|
907 |
This format is called when the SDIO card array is allocating memory
|
|
908 |
|
|
909 |
@SymTraceFormatString "%08X: >TSDIOCardArray::AllocCards, Allocating memory for cards"
|
|
910 |
*/
|
|
911 |
ESDIOTSDIOCardArrayAllocCards,
|
|
912 |
|
|
913 |
/**
|
|
914 |
This format is called after the SDIO card array has allocated memory
|
|
915 |
|
|
916 |
@SymTraceFormatString "%08X: <TSDIOCardArray::AllocCards, Error code %d"
|
|
917 |
*/
|
|
918 |
ESDIOTSDIOCardArrayAllocCardsReturning,
|
|
919 |
|
|
920 |
/**
|
|
921 |
This format is called when an SDIO card is declared as gone
|
|
922 |
|
|
923 |
@SymTraceFormatString "%08X: >TSDIOCardArray::DeclareCardAsGone, Card %d has gone"
|
|
924 |
*/
|
|
925 |
ESDIOTSDIOCardArrayDeclareCardAsGone,
|
|
926 |
|
|
927 |
/**
|
|
928 |
This format is called after an SDIO card has been declared as gone
|
|
929 |
|
|
930 |
@SymTraceFormatString "%08X: <TSDIOCardArray::DeclareCardAsGone"
|
|
931 |
*/
|
|
932 |
ESDIOTSDIOCardArrayDeclareCardAsGoneReturning,
|
|
933 |
|
|
934 |
/**
|
|
935 |
This format is called when the card controller interface registers a new media device
|
|
936 |
|
|
937 |
@SymTraceFormatString "%08X: >TSDIOCardControllerInterface::RegisterMediaDevices, Register an SDIO card on socket %d"
|
|
938 |
*/
|
|
939 |
ESDIOTSDIOCardControllerInterfaceRegisterMediaDevice,
|
|
940 |
|
|
941 |
/**
|
|
942 |
This format is called after the card controller interface registers a new media device
|
|
943 |
|
|
944 |
@SymTraceFormatString "%08X: <TSDIOCardControllerInterface::RegisterMediaDevices, Error code %d"
|
|
945 |
*/
|
|
946 |
ESDIOTSDIOCardControllerInterfaceRegisterMediaDeviceReturning,
|
|
947 |
|
|
948 |
/**
|
|
949 |
This format is called when the DSDIOPsu object is constructed
|
|
950 |
|
|
951 |
@SymTraceFormatString "%08X: >DSDIOPsu::DSDIOPsu"
|
|
952 |
*/
|
|
953 |
ESDIODSDIOPsuConstructor,
|
|
954 |
|
|
955 |
/**
|
|
956 |
This format is called after a DSDIOPsu object is constructed
|
|
957 |
|
|
958 |
@SymTraceFormatString "%08X: <DSDIOPsu::DSDIOPsu"
|
|
959 |
*/
|
|
960 |
ESDIODSDIOPsuConstructorReturning,
|
|
961 |
|
|
962 |
/**
|
|
963 |
This format is called when the DSDIOPsu object is created
|
|
964 |
|
|
965 |
@SymTraceFormatString "%08X: >DSDIOPsu::DoCreate"
|
|
966 |
*/
|
|
967 |
ESDIODSDIOPsuDoCreate,
|
|
968 |
|
|
969 |
/**
|
|
970 |
This format is called after the DSDIOPsu object is created
|
|
971 |
|
|
972 |
@SymTraceFormatString "%08X: <DSDIOPsu::DoCreate, Error code %d"
|
|
973 |
*/
|
|
974 |
ESDIODSDIOPsuDoCreateReturning,
|
|
975 |
|
|
976 |
/**
|
|
977 |
This format is called when the DSDIOPsu tick occurs
|
|
978 |
|
|
979 |
@SymTraceFormatString "%08X: >DSDIOPsu::DoTickService"
|
|
980 |
*/
|
|
981 |
ESDIODSDIOPsuDoTickService,
|
|
982 |
|
|
983 |
/**
|
|
984 |
This format is called after the DSDIOPsu tick occurs
|
|
985 |
|
|
986 |
@SymTraceFormatString "%08X: <DSDIOPsu::DoTickService"
|
|
987 |
*/
|
|
988 |
ESDIODSDIOPsuDoTickServiceReturning,
|
|
989 |
|
|
990 |
/**
|
|
991 |
This format is called to detect whether the power supply is locked
|
|
992 |
|
|
993 |
@SymTraceFormatString "%08X: >DSDIOPsu::IsLocked"
|
|
994 |
*/
|
|
995 |
ESDIODSDIOPsuIsLocked,
|
|
996 |
|
|
997 |
/**
|
|
998 |
This format is called after the detection of whether the power supply is locked
|
|
999 |
|
|
1000 |
@SymTraceFormatString "%08X: <DSDIOPsu::IsLocked, Locked Status %d"
|
|
1001 |
*/
|
|
1002 |
ESDIODSDIOPsuIsLockedReturning,
|
|
1003 |
|
|
1004 |
/**
|
|
1005 |
This format is called when a DSDIOSocket object is constructed
|
|
1006 |
|
|
1007 |
@SymTraceFormatString "%08X: >DSDIOSocket::DSDIOSocket, for socket %d"
|
|
1008 |
*/
|
|
1009 |
ESDIODSDIOSocketConstructor,
|
|
1010 |
|
|
1011 |
/**
|
|
1012 |
This format is called after a DSDIOSocket object is constructed
|
|
1013 |
|
|
1014 |
@SymTraceFormatString "%08X: <DSDIOSocket::DSDIOSocket"
|
|
1015 |
*/
|
|
1016 |
ESDIODSDIOSocketConstructorReturning,
|
|
1017 |
|
|
1018 |
/**
|
|
1019 |
This format is called when the socket is request to sleep
|
|
1020 |
|
|
1021 |
@SymTraceFormatString "%08X: >DSDIOSocket::RequestAsyncSleep, request to sleep"
|
|
1022 |
*/
|
|
1023 |
ESDIODSDIOSocketRequestAsyncSleep,
|
|
1024 |
|
|
1025 |
/**
|
|
1026 |
This format is called after the socket has been requested to sleep
|
|
1027 |
|
|
1028 |
@SymTraceFormatString "%08X: <DSDIOSocket::RequestAsyncSleep, sleep count %d"
|
|
1029 |
*/
|
|
1030 |
ESDIODSDIOSocketRequestAsyncSleepReturning,
|
|
1031 |
|
|
1032 |
/**
|
|
1033 |
This format is called when the socket is released to sleep
|
|
1034 |
|
|
1035 |
@SymTraceFormatString "%08X: >DSDIOSocket::SleepComplete"
|
|
1036 |
*/
|
|
1037 |
ESDIODSDIOSocketSleepComplete,
|
|
1038 |
|
|
1039 |
/**
|
|
1040 |
This format is called after the socket is released to sleep
|
|
1041 |
|
|
1042 |
@SymTraceFormatString "%08X: <DSDIOSocket::SleepComplete, sleep count %d"
|
|
1043 |
*/
|
|
1044 |
ESDIODSDIOSocketSleepCompleteReturning,
|
|
1045 |
|
|
1046 |
/**
|
|
1047 |
This format is called when the stack acquires new cards
|
|
1048 |
|
|
1049 |
@SymTraceFormatString "%08X: >DSDIOStack::AcquireStackSM, Acquire new cards"
|
|
1050 |
*/
|
|
1051 |
ESDIODSDIOStackAcquireStack,
|
|
1052 |
|
|
1053 |
/**
|
|
1054 |
This format is called after the stack acquires new cards
|
|
1055 |
|
|
1056 |
@SymTraceFormatString "%08X: <DSDIOStack::AcquireStackSM"
|
|
1057 |
*/
|
|
1058 |
ESDIODSDIOStackAcquireStackReturning,
|
|
1059 |
|
|
1060 |
/**
|
|
1061 |
This format is called when the stack issues the IO_RW_DIRECT command (CMD52)
|
|
1062 |
|
|
1063 |
@SymTraceFormatString "%08X: >DSDIOStack::CIMIoReadWriteDirectSM, I/O Read Write Direct command"
|
|
1064 |
*/
|
|
1065 |
ESDIODSDIOStackIoReadWriteDirect,
|
|
1066 |
|
|
1067 |
/**
|
|
1068 |
This format is called after the stack issues the IO_RW_DIRECT command (CMD52)
|
|
1069 |
|
|
1070 |
@SymTraceFormatString "%08X: <DSDIOStack::CIMIoReadWriteDirectSM"
|
|
1071 |
*/
|
|
1072 |
ESDIODSDIOStackIoReadWriteDirectReturning,
|
|
1073 |
|
|
1074 |
/**
|
|
1075 |
This format is called when the stack issues IO_RW_EXTENDED command (CMD53)
|
|
1076 |
|
|
1077 |
@SymTraceFormatString "%08X: >DSDIOStack::CIMIoReadWriteExtendedSM, I/O Read Write Extended command"
|
|
1078 |
*/
|
|
1079 |
ESDIODSDIOStackIoReadWriteExtended,
|
|
1080 |
|
|
1081 |
/**
|
|
1082 |
This format is called after the stack issues the IO_RW_EXTENDED command (CMD53)
|
|
1083 |
|
|
1084 |
@SymTraceFormatString "%08X: <SDIOStack::CIMIoReadWriteExtendedSM"
|
|
1085 |
*/
|
|
1086 |
ESDIODSDIOStackIoReadWriteExtendedReturning,
|
|
1087 |
|
|
1088 |
/**
|
|
1089 |
This format is called when the stack modifies a register
|
|
1090 |
|
|
1091 |
@SymTraceFormatString "%08X: >DSDIOStack::CIMIoModifySM, I/O Modify register"
|
|
1092 |
*/
|
|
1093 |
ESDIODSDIOStackIoModify,
|
|
1094 |
|
|
1095 |
/**
|
|
1096 |
This format is called after the stack modifies a register
|
|
1097 |
|
|
1098 |
@SymTraceFormatString "%08X: <DSDIOStack::CIMIoModifySM"
|
|
1099 |
*/
|
|
1100 |
ESDIODSDIOStackIoModifyReturning,
|
|
1101 |
|
|
1102 |
/**
|
|
1103 |
This format is called when the stack reads or writes a block
|
|
1104 |
|
|
1105 |
@SymTraceFormatString "%08X: >DSDIOStack::CIMReadWriteBlocksSM, I/O Read Write block"
|
|
1106 |
*/
|
|
1107 |
ESDIODSDIOStackIoReadWriteBlock,
|
|
1108 |
|
|
1109 |
/**
|
|
1110 |
This format is called after the stack reads or writes a block
|
|
1111 |
|
|
1112 |
@SymTraceFormatString "%08X: <DSDIOStack::CIMReadWriteBlocksSM"
|
|
1113 |
*/
|
|
1114 |
ESDIODSDIOStackIoReadWriteBlockReturning,
|
|
1115 |
|
|
1116 |
/**
|
|
1117 |
This format is called when the stack modifies the capability of a card
|
|
1118 |
|
|
1119 |
@SymTraceFormatString "%08X: >DSDIOStack::ModifyCardCapabilitySM, Modify card capability"
|
|
1120 |
*/
|
|
1121 |
ESDIODSDIOStackModifyCardCapability,
|
|
1122 |
|
|
1123 |
/**
|
|
1124 |
This format is called after the stack modifies the capability of a card
|
|
1125 |
|
|
1126 |
@SymTraceFormatString "%08X: <DSDIOStack::ModifyCardCapabilitySM"
|
|
1127 |
*/
|
|
1128 |
ESDIODSDIOStackModifyCardCapabilityReturning,
|
|
1129 |
|
|
1130 |
/**
|
|
1131 |
This format is called when the stack blocks an IO session
|
|
1132 |
|
|
1133 |
@SymTraceFormatString "%08X: >DSDIOStack::BlockIOSession, Block IO session"
|
|
1134 |
*/
|
|
1135 |
ESDIODSDIOStackBlockIoSession,
|
|
1136 |
|
|
1137 |
/**
|
|
1138 |
This format is called after the stack blocks an IO session
|
|
1139 |
|
|
1140 |
@SymTraceFormatString "%08X: >DSDIOStack::BlockIOSession"
|
|
1141 |
*/
|
|
1142 |
ESDIODSDIOStackBlockIoSessionReturning,
|
|
1143 |
|
|
1144 |
/**
|
|
1145 |
This format is called when the stack unblocks an IO session
|
|
1146 |
|
|
1147 |
@SymTraceFormatString "%08X: >DSDIOStack::UnblockIOSession, Unblock IO session"
|
|
1148 |
*/
|
|
1149 |
ESDIODSDIOStackUnblockIoSession,
|
|
1150 |
|
|
1151 |
/**
|
|
1152 |
This format is called after the stack unblocks an IO session
|
|
1153 |
|
|
1154 |
@SymTraceFormatString "%08X: <DSDIOStack::UnblockIOSession"
|
|
1155 |
*/
|
|
1156 |
ESDIODSDIOStackUnblockIoSessionReturning,
|
|
1157 |
|
|
1158 |
/**
|
|
1159 |
This format is called to allocate a new session for a stack
|
|
1160 |
|
|
1161 |
@SymTraceFormatString "%08X: >DSDIOStack::AllocSession, Allocate new session"
|
|
1162 |
*/
|
|
1163 |
ESDIODSDIOStackAllocateNewSession,
|
|
1164 |
|
|
1165 |
/**
|
|
1166 |
This format is called after a new session is allocated for a stack
|
|
1167 |
|
|
1168 |
@SymTraceFormatString "%08X: <DSDIOStack::AllocSession, New session %08X"
|
|
1169 |
*/
|
|
1170 |
ESDIODSDIOStackAllocateNewSessionReturning,
|
|
1171 |
|
|
1172 |
/**
|
|
1173 |
This format is called to indicate that the PSL function EnableSDIOInterrupts is going to be called
|
|
1174 |
|
|
1175 |
@SymTraceFormatString "%08X: Called PSL, EnableSDIOInterrupts"
|
|
1176 |
*/
|
|
1177 |
ESDIODSDIOStackPSLCalledEnableSDIOInterrupts,
|
|
1178 |
|
|
1179 |
/**
|
|
1180 |
This format is called to indicate that the PSL function EnableSDIOInterrupts has returned
|
|
1181 |
|
|
1182 |
@SymTraceFormatString "%08X: Returned PSL, EnableSDIOInterrupts"
|
|
1183 |
*/
|
|
1184 |
ESDIODSDIOStackPSLEnableSDIOInterruptsReturned,
|
|
1185 |
|
|
1186 |
/**
|
|
1187 |
This format is called to indicate that the PSL function AddressCard is going to be called
|
|
1188 |
|
|
1189 |
@SymTraceFormatString "%08X: Called PSL, AddressCard %d"
|
|
1190 |
*/
|
|
1191 |
ESDIODSDIOStackPSLCalledAddressCard,
|
|
1192 |
|
|
1193 |
/**
|
|
1194 |
This format is called to indicate that the PSL function AddressCard has returned
|
|
1195 |
|
|
1196 |
@SymTraceFormatString "%08X: Returned PSL, AddressCard"
|
|
1197 |
*/
|
|
1198 |
ESDIODSDIOStackPSLAddressCardReturned,
|
|
1199 |
|
|
1200 |
/**
|
|
1201 |
This format is called to indicate that the PSL function MaxBlockSize is going to be called
|
|
1202 |
|
|
1203 |
@SymTraceFormatString "%08X: Called PSL, MaxBlockSize"
|
|
1204 |
*/
|
|
1205 |
ESDIODSDIOStackPSLCalledMaxBlockSize,
|
|
1206 |
|
|
1207 |
/**
|
|
1208 |
This format is called to indicate that the PSL function MaxBlockSize has returned
|
|
1209 |
|
|
1210 |
@SymTraceFormatString "%08X: Returned PSL, MaxBlockSize %d bytes"
|
|
1211 |
*/
|
|
1212 |
ESDIODSDIOStackPSLMaxBlockSizeReturned,
|
|
1213 |
|
|
1214 |
/**
|
|
1215 |
This format is called to indicate that the power up sequence has started
|
|
1216 |
|
|
1217 |
@SymTraceFormatString "%08X: Powering up card"
|
|
1218 |
*/
|
|
1219 |
ESDIODSDIOSocketPoweringUpCard,
|
|
1220 |
|
|
1221 |
/**
|
|
1222 |
This format is called to indicate that the power down sequence has started
|
|
1223 |
|
|
1224 |
@SymTraceFormatString "%08X: Powering down card"
|
|
1225 |
*/
|
|
1226 |
ESDIODSDIOSocketPoweringDownCard,
|
|
1227 |
|
|
1228 |
EFormatIdHighWaterMark,
|
|
1229 |
};
|
|
1230 |
__ASSERT_COMPILE(EFormatIdHighWaterMark <= KMaxFormatId + 1);
|
|
1231 |
|
|
1232 |
} // end of namespace UTraceModuleEPBusSDIO
|
|
1233 |
|
|
1234 |
// ModuleUid Default
|
|
1235 |
#define EXECUTABLE_DEFAULT_MODULEUID UTraceModuleEPBusSDIO::KModuleUid
|
|
1236 |
|
|
1237 |
#if !defined(_USE_UTRACE_)
|
|
1238 |
#include <e32btrace.h>
|
|
1239 |
#else
|
|
1240 |
|
|
1241 |
// Normal PC and ContextId Defaults
|
|
1242 |
// Note these are the same as the ones provided by the UTF
|
|
1243 |
#define EXECUTABLE_DEFAULT_HAS_THREAD_IDENTIFICATION UTF::EAddThreadIdentification
|
|
1244 |
#define EXECUTABLE_DEFAULT_HAS_PC UTF::EAddProgramCounter
|
|
1245 |
|
|
1246 |
#include <e32utrace.h>
|
|
1247 |
#endif
|
|
1248 |
|
|
1249 |
/**
|
|
1250 |
* Function to create a UTF style trace record with multiple TUint32 parameters
|
|
1251 |
*
|
|
1252 |
* @internalTechnology
|
|
1253 |
*/
|
|
1254 |
void Trace(TTraceContext aTraceContext, TFormatId aFormatId, TUint32 aArgCount, TUint32 aA1, ...);
|
|
1255 |
|
|
1256 |
#define TRACE(tc, fi, ptr, len) Trace(tc, fi, ptr, len)
|
|
1257 |
#define TRACE0(tc, fi) Trace(tc, fi)
|
|
1258 |
#define TRACE1(tc, fi, a1) Trace(tc, fi, a1)
|
|
1259 |
#define TRACE2(tc, fi, a1, a2) Trace(tc, fi, 2, a1, a2)
|
|
1260 |
#define TRACE3(tc, fi, a1, a2, a3) Trace(tc, fi, 3, a1, a2, a3)
|
|
1261 |
#define TRACE4(tc, fi, a1, a2, a3, a4) Trace(tc, fi, 4, a1, a2, a3, a4)
|
|
1262 |
|
|
1263 |
#endif // UTRACEEPBUSSDIO_H
|