Files
codezero/include/l4/platform/pb11mpcore/uart.h
2009-11-02 21:29:55 +05:30

21 lines
455 B
C

/*
* Platform specific ties to generic uart functions that putc expects.
*
* Copyright (C) 2007 Bahadir Balban
*
*/
#ifndef __PLATFORM_PB11MPCORE_UART_H__
#define __PLATFORM_PB11MPCORE_UART_H__
#include INC_PLAT(offsets.h)
#include INC_GLUE(memlayout.h)
#define PLATFORM_CONSOLE_BASE PB11MPCORE_UART0_VBASE
#include <l4/drivers/uart/pl011/pl011_uart.h>
void uart_init(void);
void uart_putc(char c);
#endif /* __PLATFORM_PB11MPCORE_UART_H__ */