Blob


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