/* Output a single byte to the serial port.  */
void serial_putc(const char c)
/* Output a single byte to the serial port.  */
void serial_putc(const char c)
{
	while( !uart->m_stat.bf.txBufEmpty);
	uart->m_tx = c;
	if (c=='\n')
		serial_putc('\r');
}