xref: /haiku/headers/private/kernel/arch/debug.h (revision 93aeb8c3bc3f13cb1f282e3e749258a23790d947)
1 /*
2  * Copyright 2005, Axel Dörfler, axeld@pinc-software.de.
3  * Distributed under the terms of the MIT License.
4  *
5  * Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
6  * Distributed under the terms of the NewOS License.
7  */
8 #ifndef _KERNEL_ARCH_DEBUG_H
9 #define _KERNEL_ARCH_DEBUG_H
10 
11 
12 #include <SupportDefs.h>
13 
14 struct kernel_args;
15 
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 status_t arch_debug_init(kernel_args *args);
22 void *arch_debug_get_caller(void);
23 void arch_debug_save_registers(int *);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif	/* _KERNEL_ARCH_DEBUG_H */
30