diff options
author | vetch <vetch97@gmail.com> | 2019-12-17 17:16:40 +0100 |
---|---|---|
committer | vetch <vetch97@gmail.com> | 2019-12-17 17:16:40 +0100 |
commit | 5cb10bcc7d0c6d4159103f05ba228a09ca365fac (patch) | |
tree | d248f2a519e7b2b4707b6889a971165c75c4af48 /kernel.c | |
parent | 90d208f074626521118984902ca8d3ebfd17e62f (diff) | |
parent | 7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09 (diff) | |
download | rpi-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.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |