2009-07-27 16:23:08 +00:00
|
|
|
/*
|
2012-05-06 16:26:08 -05:00
|
|
|
* Copyright 2011-2012 Haiku, Inc. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
2009-07-27 16:23:08 +00:00
|
|
|
*
|
2012-05-06 16:26:08 -05:00
|
|
|
* Authors:
|
|
|
|
* Alexander von Gluck, kallisti5@unixzen.com
|
2009-07-27 16:23:08 +00:00
|
|
|
*/
|
|
|
|
#ifndef __DEV_UART_H
|
|
|
|
#define __DEV_UART_H
|
|
|
|
|
2012-05-06 16:26:08 -05:00
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
#include "uart_8250.h"
|
2012-05-06 19:30:03 -05:00
|
|
|
#include "uart_pl011.h"
|
2012-05-06 16:26:08 -05:00
|
|
|
|
|
|
|
|
|
|
|
addr_t uart_base_port(int port);
|
2012-05-08 22:16:19 -05:00
|
|
|
addr_t uart_base_debug();
|
2009-07-27 16:23:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|