2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * François Revol, revol@free.fr
8 #ifndef _KERNEL_ARCH_DEBUG_UART_8250_H
9 #define _KERNEL_ARCH_DEBUG_UART_8250_H
12 #include <sys/types.h>
14 #include <SupportDefs.h>
16 #include "debug_uart.h"
19 class DebugUART8250
: public DebugUART
{
21 DebugUART8250(addr_t base
, int64 clock
);
26 void InitPort(uint32 baud
);
29 int GetChar(bool wait
);
36 extern DebugUART8250
*arch_get_uart_8250(addr_t base
, int64 clock
);
37 extern DebugUART8250
*arch_get_uart_8250_omap(addr_t base
, int64 clock
);
40 #endif /* _KERNEL_ARCH_DEBUG_UART_8250_H */