xref: /haiku/src/system/boot/platform/efi/serial.h (revision e1c4049fed1047bdb957b0529e1921e97ef94770)
1 /*
2  * Copyright 2004-2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef SERIAL_H
6 #define SERIAL_H
7 
8 
9 #include <SupportDefs.h>
10 
11 
12 class DebugUART;
13 extern DebugUART* gUART;
14 extern bool gUARTSkipInit;
15 
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 extern void serial_init(void);
22 extern void serial_init_post_mmu(void);
23 extern void serial_cleanup(void);
24 
25 extern void serial_puts(const char *string, size_t size);
26 
27 extern void serial_disable(void);
28 extern void serial_enable(void);
29 
30 extern void serial_kernel_handoff(void);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif	/* SERIAL_H */
37