diff options
author | vetch <vetch97@gmail.com> | 2019-11-26 17:49:32 +0100 |
---|---|---|
committer | vetch <vetch97@gmail.com> | 2019-11-26 17:49:32 +0100 |
commit | 9487ce965249da010b27034e4903b6ebda4b7641 (patch) | |
tree | ef8ff57cc65821e1ec58cd8e57dbdcd49b44bb9e | |
parent | 92d10d0a60294e1b9acb4ed0733bb5bcdd5fd7a5 (diff) | |
download | rpi-MMU-example-9487ce965249da010b27034e4903b6ebda4b7641.tar.gz rpi-MMU-example-9487ce965249da010b27034e4903b6ebda4b7641.zip |
slight update
-rw-r--r-- | kernel.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,7 @@ #include "uart.h" #include "demo_functionality.h" #include "paging.h" +#include "interrupts.h" void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) { @@ -18,6 +19,7 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) uart_puts("Hello, kernel World!\r\n"); + enable_interrupt(); // prints some info demo_paging_support(); @@ -30,7 +32,8 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) // prints some info and sets up a section for PL0 code, loads a blob // there and jumps to it... never, ever, ever returns demo_go_unprivileged(); - + + while(1); while (1) |