2 Copyright � 1995-2010, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <aros/kernel.h>
13 #include <kernel_base.h>
14 #include <kernel_debug.h>
16 #include <hardware/mx51_uart.h>
18 static volatile MX51_UART
* const uart
= (MX51_UART
*)UART1_BASE_ADDR
;
20 static inline void waitBusy()
22 while((uart
->USR2
& UART_USR2_TXDC
) == 0);
25 static inline void putByte(uint8_t chr
)
32 void (*_KrnPutC
)(char) = NULL
;
34 void krnSerPutC(int chr
)
40 int krnPutC(int chr
, struct KernelBase
*KernelBase
)