summaryrefslogtreecommitdiff
path: root/src/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel.c')
-rw-r--r--src/kernel.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel.c b/src/kernel.c
index eb7d832..f1150be 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1,4 +1,14 @@
1#include <mmio.h>
2#include <raspi.h>
3#include <uart.h>
4
1void main() { 5void main() {
6 const int raspi = raspi_init();
7 mmio_init(raspi);
8 uart_init(raspi);
9
10 uart_print("Hello world!\n");
11
2 while (1); 12 while (1);
3} 13}
4 14