Blob
1 // kernel.cc3 #include <uart.h>6 namespace7 {10 void11 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 void24 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 }