haiku/src/system/kernel/debug/blue_screen.h
Axel Dörfler 173d0b2fc7 panic() could hang in the early boot process in case it was called before
the blue screen was initialized - blue_screen_enter() now returns wether
or not it has been initialized already (there will only be serial output
in that case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-10-09 00:12:29 +00:00

28 lines
499 B
C

/*
* Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef BLUE_SCREEN_H
#define BLUE_SCREEN_H
#include <SupportDefs.h>
#ifdef __cplusplus
extern "C" {
#endif
status_t blue_screen_init(void);
status_t blue_screen_enter(bool debugOutput);
char blue_screen_getchar(void);
void blue_screen_putchar(char c);
void blue_screen_puts(const char *text);
#ifdef __cplusplus
}
#endif
#endif /* BLUE_SCREEN_H */