aboutsummaryrefslogtreecommitdiff
path: root/kernel.c
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2019-12-17 17:16:40 +0100
committervetch <vetch97@gmail.com>2019-12-17 17:16:40 +0100
commit5cb10bcc7d0c6d4159103f05ba228a09ca365fac (patch)
treed248f2a519e7b2b4707b6889a971165c75c4af48 /kernel.c
parent90d208f074626521118984902ca8d3ebfd17e62f (diff)
parent7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09 (diff)
downloadrpi-MMU-example-5cb10bcc7d0c6d4159103f05ba228a09ca365fac.tar.gz
rpi-MMU-example-5cb10bcc7d0c6d4159103f05ba228a09ca365fac.zip
Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice
# Conflicts: # kernel.c
Diffstat (limited to 'kernel.c')
-rw-r--r--kernel.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel.c b/kernel.c
index a6f8790..096cd9a 100644
--- a/kernel.c
+++ b/kernel.c
@@ -15,7 +15,7 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags)
// When we attach screen session after loading kernel with socat
// we miss kernel's greeting... So we'll make the kernel wait for
// one char we're going to send from within screen
- // uart_getc();
+ uart_getc();
uart_puts("Hello, kernel World!\r\n");
@@ -26,13 +26,15 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags)
// prints some info and switches to system mode
demo_mode_to_system();
+ // prints some info
+ demo_current_mode();
// prints some info and sets upp translation table, turns on MMU
setup_flat_map();
-// demo_setup_libkernel();
+ demo_setup_libkernel();
-// demo_setup_PL0();
+ demo_setup_PL0();
enable_timer();
// enable interrupts