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
15struct kernel_args;
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21int arch_debug_blue_screen_try_getchar(void);
22char arch_debug_blue_screen_getchar(void);
23int arch_debug_serial_try_getchar(void);
24char arch_debug_serial_getchar(void);
25void arch_debug_serial_putchar(char c);
26void arch_debug_serial_puts(const char *s);
27void arch_debug_serial_early_boot_message(const char *string);
28
29void arch_debug_remove_interrupt_handler(uint32 line);
30void arch_debug_install_interrupt_handlers(void);
31
32status_t arch_debug_console_init(struct kernel_args *args);
33status_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