git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin4 - Tweak handling of AcessNative (doesn't have SHM and mmap)
[tpg/acess2.git]
/
KernelLand
/
Kernel
/
include
/
debug_hooks.h
diff --git
a/KernelLand/Kernel/include/debug_hooks.h
b/KernelLand/Kernel/include/debug_hooks.h
index
8ea4211
..
27df6cf
100644
(file)
--- a/
KernelLand/Kernel/include/debug_hooks.h
+++ b/
KernelLand/Kernel/include/debug_hooks.h
@@
-8,9
+8,21
@@
#ifndef _DEBUG_HOOKS_H_
#define _DEBUG_HOOKS_H_
#ifndef _DEBUG_HOOKS_H_
#define _DEBUG_HOOKS_H_
+
+typedef struct sDebugHook {
+ //tDebugHookOutput Output;
+ Uint Value;
+ // TODO: Console support?
+} tDebugHook;
+
+extern void DebugHook_HandleInput(tDebugHook *HookHandle, size_t Length, const char *Input);
+
extern void Heap_Dump(void);
extern void Threads_Dump(void);
extern void Threads_ToggleTrace(int TID);
extern void Heap_Stats(void);
extern void Heap_Dump(void);
extern void Threads_Dump(void);
extern void Threads_ToggleTrace(int TID);
extern void Heap_Stats(void);
+extern void MM_DumpStatistics(void);
+
+extern void Proc_PrintBacktrace(void);
#endif
#endif
UCC
git Repository :: git.ucc.asn.au