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 char arch_debug_blue_screen_getchar(void); 22 char arch_debug_serial_getchar(void); 23 void arch_debug_serial_putchar(char c); 24 void arch_debug_serial_puts(const char *s); 25 void arch_debug_serial_early_boot_message(const char *string); 26 27 void arch_debug_remove_interrupt_handler(uint32 line); 28 void arch_debug_install_interrupt_handlers(void); 29 30 status_t arch_debug_console_init(struct kernel_args *args); 31 status_t arch_debug_console_init_settings(struct kernel_args *args); 32 33 #ifdef __cplusplus 34 } 35 #endif 36 37 #endif /* KERNEL_ARCH_DEBUG_CONSOLE_H */ 38