diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-11 01:28:14 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-11-11 01:28:14 +0100 |
commit | 0f20294f13ebd740f860338f7fa646ebe4ef97dd (patch) | |
tree | 58a70315b6ece29441e4c0e5ef2d68ab7af8df05 /kernel.c | |
parent | 3409da67262e5773f372e8035cc480b446b7df03 (diff) | |
download | rpi-MMU-example-0f20294f13ebd740f860338f7fa646ebe4ef97dd.tar.gz rpi-MMU-example-0f20294f13ebd740f860338f7fa646ebe4ef97dd.zip |
update short descriptor generic struct
Diffstat (limited to 'kernel.c')
-rw-r--r-- | kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,8 +86,8 @@ void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) // flat map all memory uart_puts("preparing translation table\n\r"); - short_descriptor_t *translation_table = - (short_descriptor_t*) translation_table_base; + short_descriptor_lvl1_t *translation_table = + (short_descriptor_lvl1_t*) translation_table_base; for (uint32_t i = 0; i < 4096; i++) translation_table[i].section_fields = |