d51ce54011
arch dependent code (they will be removed as soon as someone else asks for these interrupt lines). * Added an interrupt driven keyboard handler to the kernel that uses this technique. As a result, you can now press F12 to enter the kernel debugger before the input_server has been started, and Control-Alt-Delete should reboot the system (actually I did not test the latter yet). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17806 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
940 B
C
38 lines
940 B
C
/*
|
|
* Copyright 2002-2006, 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.
|
|
*/
|
|
#ifndef KERNEL_ARCH_DEBUG_CONSOLE_H
|
|
#define KERNEL_ARCH_DEBUG_CONSOLE_H
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
struct kernel_args;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
char arch_debug_blue_screen_getchar(void);
|
|
char arch_debug_serial_getchar(void);
|
|
void arch_debug_serial_putchar(char c);
|
|
void arch_debug_serial_puts(const char *s);
|
|
void arch_debug_serial_early_boot_message(const char *string);
|
|
|
|
void arch_debug_remove_interrupt_handler(uint32 line);
|
|
void arch_debug_install_interrupt_handlers(void);
|
|
|
|
status_t arch_debug_console_init(struct kernel_args *args);
|
|
status_t arch_debug_console_init_settings(struct kernel_args *args);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* KERNEL_ARCH_DEBUG_CONSOLE_H */
|