mirror of
https://review.haiku-os.org/haiku
synced 2025-02-04 12:46:58 +01:00
78004f1677
* This makes things a little more flexible and the interface to use the uarts cleaner. * May want to make a generic Uart wrapper class in uart.h / uart.cpp and call drivers as needed from there.
23 lines
361 B
C
23 lines
361 B
C
/*
|
|
* Copyright 2011-2012 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Alexander von Gluck, kallisti5@unixzen.com
|
|
*/
|
|
#ifndef __DEV_UART_H
|
|
#define __DEV_UART_H
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include "uart_8250.h"
|
|
#include "uart_pl011.h"
|
|
|
|
|
|
addr_t uart_base_port(int port);
|
|
addr_t uart_base_debug();
|
|
|
|
|
|
#endif
|