Blob


1 // kernel.cc
3 #include <uart.h>
6 namespace
7 {
10 void
11 uart_send_string(const char *szContent)
12 {
13 const char *szCurrent = szContent;
14 while (*szCurrent)
15 Board::Uart::send(*szCurrent);
16 }
19 }
22 extern "C"
23 void
24 kernel_entry_point()
25 {
26 Board::Uart::initialize();
29 uart_send_string("Test ECHO mode\r\n");
31 for (; ; )
32 Board::Uart::send(Board::Uart::recv());
33 }