equal
deleted
inserted
replaced
|
1 // patchables.cpp |
|
2 // |
|
3 // Copyright (c) 2007 - 2010 Accenture. All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the "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 // Accenture - Initial contribution |
|
11 // |
|
12 |
|
13 #include <e32def.h> |
|
14 #include <e32const.h> |
|
15 |
|
16 /* Patchable constants, to specify the size of the chunk used to transfer trace data from the kernel to the cloggerserver, |
|
17 * and the size of the buffer used to buffer logging from ISRs |
|
18 * |
|
19 * To modify, include the following in your OBY file: (the following sets the chunk size to 128KB) |
|
20 * patchdata clogger-debugrouter.ldd@KChunkSize 0x20000 |
|
21 * Note: In order for this to work, the LDD must be in the core ROM image, ie the IBY file for |
|
22 * clogger-debugrouter.ldd must start device[VARID]=ABI_DIR\BUILD_DIR\clogger-debugrouter.ldd |
|
23 |
|
24 */ |
|
25 |
|
26 EXPORT_C extern const TInt KChunkSize = 64 * 1024; // 64KB for now |
|
27 EXPORT_C extern const TInt KIsrBufSize = 2048; |
|
28 |
|
29 EXPORT_C extern const TBool KEnableEarlyRdebug = EFalse; // Alternative to messing with the debug port - inventing new port numbers can confuse some baseports |