2002-08-14 01:42:53 +04:00
|
|
|
/*
|
2005-05-25 17:58:32 +04:00
|
|
|
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
|
|
* Distributed under the terms of the NewOS License.
|
|
|
|
*/
|
2002-08-14 01:42:53 +04:00
|
|
|
#ifndef _KERNEL_ARCH_DEBUG_H
|
|
|
|
#define _KERNEL_ARCH_DEBUG_H
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2005-05-25 17:58:32 +04:00
|
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
|
|
struct kernel_args;
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
status_t arch_dbg_init(kernel_args *args);
|
|
|
|
void *arch_get_caller(void);
|
2003-05-03 18:12:16 +04:00
|
|
|
void arch_dbg_save_registers(int *);
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2005-05-25 17:58:32 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2002-08-14 01:42:53 +04:00
|
|
|
#endif /* _KERNEL_ARCH_DEBUG_H */
|