summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/arm64')
-rw-r--r--payloads/libpayload/include/arm64/arch/cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/libpayload/include/arm64/arch/cache.h b/payloads/libpayload/include/arm64/arch/cache.h
index 757775886c..7248869111 100644
--- a/payloads/libpayload/include/arm64/arch/cache.h
+++ b/payloads/libpayload/include/arm64/arch/cache.h
@@ -100,6 +100,9 @@ void dcache_mmu_enable(void);
/* perform all icache/dcache maintenance needed after loading new code */
void cache_sync_instructions(void);
+/* Ensure that loaded program segment is synced back from cache to PoC */
+void arch_program_segment_loaded(void const *addr, size_t len);
+
/* tlb invalidate all */
void tlb_invalidate_all(void);