xref: /haiku/src/system/kernel/debug/blue_screen.h (revision 976e52595e883cc40a08d8d1304dcf23651eafce)
1f33c8020SAxel Dörfler /*
2173d0b2fSAxel Dörfler  * Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3f33c8020SAxel Dörfler  * Distributed under the terms of the MIT License.
4f33c8020SAxel Dörfler  */
5f33c8020SAxel Dörfler #ifndef BLUE_SCREEN_H
6f33c8020SAxel Dörfler #define BLUE_SCREEN_H
7f33c8020SAxel Dörfler 
8f33c8020SAxel Dörfler 
9f33c8020SAxel Dörfler #include <SupportDefs.h>
10f33c8020SAxel Dörfler 
11f33c8020SAxel Dörfler 
12f33c8020SAxel Dörfler #ifdef __cplusplus
13f33c8020SAxel Dörfler extern "C" {
14f33c8020SAxel Dörfler #endif
15f33c8020SAxel Dörfler 
16f33c8020SAxel Dörfler status_t blue_screen_init(void);
17173d0b2fSAxel Dörfler status_t blue_screen_enter(bool debugOutput);
18f33c8020SAxel Dörfler 
19*976e5259SIngo Weinhold bool blue_screen_paging_enabled(void);
20*976e5259SIngo Weinhold void blue_screen_set_paging(bool enabled);
21*976e5259SIngo Weinhold 
22a1587d16SIngo Weinhold void blue_screen_clear_screen(void);
23f33c8020SAxel Dörfler char blue_screen_getchar(void);
24f33c8020SAxel Dörfler void blue_screen_putchar(char c);
25f33c8020SAxel Dörfler void blue_screen_puts(const char *text);
26f33c8020SAxel Dörfler 
27f33c8020SAxel Dörfler #ifdef __cplusplus
28f33c8020SAxel Dörfler }
29f33c8020SAxel Dörfler #endif
30f33c8020SAxel Dörfler 
31f33c8020SAxel Dörfler #endif	/* BLUE_SCREEN_H */
32