Implement and use set_memory_registers_enable_mmu

This commit is contained in:
TuxSH 2018-02-28 13:32:18 +01:00
parent 64c8612342
commit e5f293e004
6 changed files with 73 additions and 24 deletions

View file

@ -5,9 +5,9 @@
#include "arm.h"
extern uint8_t __pk2ldr_start__[], __pk2ldr_end__[];
extern void __jump_to_lower_el(uint64_t arg, uintptr_t ep, unsigned int el);
void coldboot_main(void);
/* start.s */
void __jump_to_lower_el(uint64_t arg, uintptr_t ep, unsigned int el);
void coldboot_main(void) {
uintptr_t *mmu_l3_table = (uintptr_t *)TZRAM_GET_SEGMENT_ADDRESS(TZRAM_SEGMENT_ID_L3_TRANSLATION_TABLE);