Update contrib.
1 // Copyright (c) 2008-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\nkernsa\diag.h
22 typedef int (*TAvailFn)(void);
23 typedef int (*TPollFn)(void);
24 typedef void (*TOutFn)(char);
33 extern const DiagIO* TheIoFunctions;
35 extern int InputAvailable(void);
36 extern char GetC(void);
37 extern void PutC(char);
39 extern void PutS(const char*);
40 extern void PrtHex2(unsigned long);
41 extern void PrtHex4(unsigned long);
42 extern void PrtHex8(unsigned long);
43 extern void NewLine(void);
44 extern void PutSpc(void);
45 extern int GetAndEchoLine(char*, int, const char*);
47 extern int SkipSpc(const char*);
48 extern int CharToHex(char);
49 extern int ReadHex(const char*, unsigned long*);
50 extern int ReadRangeHex(const char*, unsigned long*, unsigned long*);
52 extern void DumpMemory1(const void*, const void*);
53 extern void DumpMemoryRange1(const void*, unsigned long, const void*);
54 extern void DumpStruct(const char*, const void*);
56 extern void RunCrashDebugger();