X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fdebug_hooks.h;h=27df6cf1dfe156252946bdd77eecc6343fb36cfe;hb=5f4d39ad0059ceec48c59d5ed87457a6bcb1c5f1;hp=4c267571ae3ce8d2412cdcb7775eec3133ae6e0c;hpb=e2744a459d1c63435d7348d0bfd0e4b92b0ec9f9;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/debug_hooks.h b/KernelLand/Kernel/include/debug_hooks.h index 4c267571..27df6cf1 100644 --- a/KernelLand/Kernel/include/debug_hooks.h +++ b/KernelLand/Kernel/include/debug_hooks.h @@ -8,10 +8,20 @@ #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 MM_DumpStatistics(void); extern void Proc_PrintBacktrace(void);