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 ++szCurrent;
16 }
17 }
20 } // anonymous namespace
23 extern "C"
24 void
25 kernel_entry_point()
26 {
27 Board::Uart::initialize();
28 uart_send_string("Squat entry point\r\n");
30 for (; ; )
31 ;
32 }