2019-07-29 20:38:44 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-08-01 00:58:16 +00:00
|
|
|
#include "types.h"
|
|
|
|
|
2019-07-29 20:38:44 +00:00
|
|
|
void flush_dcache_all(void);
|
|
|
|
void invalidate_dcache_all(void);
|
|
|
|
|
|
|
|
void flush_dcache_range(const void *start, const void *end);
|
|
|
|
void invalidate_dcache_range(const void *start, const void *end);
|
|
|
|
|
|
|
|
void invalidate_icache_all_inner_shareable(void);
|
|
|
|
void invalidate_icache_all(void);
|
2019-08-01 00:58:16 +00:00
|
|
|
|
|
|
|
void set_memory_registers_enable_mmu(uintptr_t ttbr0, u64 tcr, u64 mair);
|
2019-08-02 03:12:24 +00:00
|
|
|
void set_memory_registers_enable_stage2(uintptr_t vttbr, u64 vtcr);
|