Mass reformat

This commit is contained in:
Imbus 2025-09-01 22:43:50 +02:00
parent 3450ab2cb8
commit f1fd7de79f
10 changed files with 317 additions and 297 deletions

View file

@ -1,7 +1,9 @@
/* QEMU memory maps a UART device here. */
#define UART_BASE ((volatile char *)0x10000000)
void uart_putc(char c) { *UART_BASE = c; }
void uart_putc(char c) {
*UART_BASE = c;
}
void uart_puts(const char *s) {
while (*s) uart_putc(*s++);