diff options
author | vetch <vetch97@gmail.com> | 2019-12-17 11:46:24 +0100 |
---|---|---|
committer | vetch <vetch97@gmail.com> | 2019-12-17 11:46:24 +0100 |
commit | 0929e37e54cb7c52d8d3696a24aac5e421fb0660 (patch) | |
tree | 483083f97792cabdff053262fe7239ca3ea1a52a /kernel.c | |
parent | f87b0105a0ac411b0d64d89a9ea92e9b07087aa2 (diff) | |
parent | 1a75b3f08e28876896ea90f85b1e8101ef55dd5d (diff) | |
download | rpi-MMU-example-0929e37e54cb7c52d8d3696a24aac5e421fb0660.tar.gz rpi-MMU-example-0929e37e54cb7c52d8d3696a24aac5e421fb0660.zip |
Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice
# Conflicts:
# Makefile
# PL0_test.c
# kernel.c
# linker.ld
Diffstat (limited to 'kernel.c')
-rw-r--r-- | kernel.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -29,11 +29,16 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) // prints some info and sets upp translation table, turns on MMU setup_flat_map(); + demo_setup_libkernel(); + + demo_setup_PL0(); + + demo_setup_interrupts(); + // 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) |