This commit is contained in:
Daniil Gentili 2022-12-21 19:32:32 +01:00
parent 59025d1c7d
commit c097b01176
3 changed files with 6 additions and 5 deletions

View File

@ -16,5 +16,5 @@ _start:
mov sp, #LOW_MEMORY // Initialize the kernel stack pointer to +4mb, growing downwards
bl kernel_main // kernel_main()
halt:
halt: // Doesn't actually shut down the other cores for now, just makes them spin endlessly
b halt

View File

@ -36,7 +36,8 @@ void kernel_main(void)
delay(1000);
uart_send_string("Hello, world!\r\n");
/*while (1) {
while (1) {
// Echo back chars, the way a normal console would.
uart_send(uart_recv());
}*/
}
}