xref: /haiku/headers/private/kernel/arch/debug_console.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2002-2006, 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_CONSOLE_H
9 #define KERNEL_ARCH_DEBUG_CONSOLE_H
10 
11 
12 #include <SupportDefs.h>
13 
14 
15 struct kernel_args;
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 int arch_debug_blue_screen_try_getchar(void);
22 char arch_debug_blue_screen_getchar(void);
23 int arch_debug_serial_try_getchar(void);
24 char arch_debug_serial_getchar(void);
25 void arch_debug_serial_putchar(char c);
26 void arch_debug_serial_puts(const char *s);
27 void arch_debug_serial_early_boot_message(const char *string);
28 
29 void arch_debug_remove_interrupt_handler(uint32 line);
30 void arch_debug_install_interrupt_handlers(void);
31 
32 status_t arch_debug_console_init(struct kernel_args *args);
33 status_t arch_debug_console_init_settings(struct kernel_args *args);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif	/* KERNEL_ARCH_DEBUG_CONSOLE_H */
40