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 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 extern void serial_init(void); 17 extern void serial_init_post_mmu(void); 18 extern void serial_cleanup(void); 19 20 extern void serial_puts(const char *string, size_t size); 21 22 extern void serial_disable(void); 23 extern void serial_enable(void); 24 25 extern void serial_switch_to_legacy(void); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* SERIAL_H */ 32