vfs: check userland buffers before reading them.
[haiku.git] / src / system / kernel / debug / blue_screen.h
blob9331c7bdf633c6b79cd7d9b900b3d72a455954eb
1 /*
2 * Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef BLUE_SCREEN_H
6 #define BLUE_SCREEN_H
9 #include <SupportDefs.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 status_t blue_screen_init(void);
17 status_t blue_screen_enter(bool debugOutput);
19 bool blue_screen_paging_enabled(void);
20 void blue_screen_set_paging(bool enabled);
22 void blue_screen_clear_screen(void);
23 int blue_screen_try_getchar(void);
24 char blue_screen_getchar(void);
25 void blue_screen_putchar(char c);
26 void blue_screen_puts(const char *text);
28 #ifdef __cplusplus
30 #endif
32 #endif /* BLUE_SCREEN_H */