xref: /haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/KernelDebug.h (revision bc3955fea5b07e2e94a27fc05e4bb58fe6f0319b)
1 // KernelDebug.h
2 
3 #ifndef USERLAND_FS_KERNEL_DEBUG_H
4 #define USERLAND_FS_KERNEL_DEBUG_H
5 
6 class KernelDebug {
7 public:
8 	static	void				AddDebuggerCommands();
9 	static	void				RemoveDebuggerCommands();
10 
11 private:
12 	static	int					DebugUFS(int argc, char** argv);
13 	static	int					DebugPortPool(int argc, char** argv);
14 	static	int					DebugPort(int argc, char** argv);
15 };
16 
17 // no kernel debugger commands in userland
18 #if USER
19 inline void KernelDebug::AddDebuggerCommands()		{}
20 inline void KernelDebug::RemoveDebuggerCommands()	{}
21 #endif
22 
23 #endif	// USERLAND_FS_KERNEL_DEBUG_H
24