Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 256 Bytes
#include "mini_uart.h"
#include "utils.h"
void kernel_main(unsigned long id) {
if (id == 0) {
uart_init();
}
uart_send_string("Hello, from processor ");
uart_send(id + 48);
uart_send_string(".\r\n");
while (1)
;
}
You can’t perform that action at this time.