diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:01:41 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:01:41 +0100 |
commit | 7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09 (patch) | |
tree | 1ff297ee593d14151d200ec6e4db30f360dabfd0 /kernel.c | |
parent | 37821a7d49e78132e7bdf12e04a9ed339588650c (diff) | |
download | rpi-MMU-example-7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09.tar.gz rpi-MMU-example-7dbdf1ee0a064e9b2c5fedd7bd4e2b67f0532b09.zip |
make things work again on real hw (setting system mode moved to boot.S)
Diffstat (limited to 'kernel.c')
-rw-r--r-- | kernel.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,15 +14,15 @@ 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"); // prints some info demo_paging_support(); - // 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(); |