From c6fa18344e281b1af16f79c2f9577888bd7e3161 Mon Sep 17 00:00:00 2001 From: Astro Date: Mon, 22 Jun 2020 02:04:56 +0200 Subject: [PATCH] uncached: disable cachable/bufferable --- libcortex_a9/src/uncached.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libcortex_a9/src/uncached.rs b/libcortex_a9/src/uncached.rs index add8559..464f6ac 100644 --- a/libcortex_a9/src/uncached.rs +++ b/libcortex_a9/src/uncached.rs @@ -25,6 +25,7 @@ impl UncachedSlice { for page_start in (start..(start + size)).step_by(L1_PAGE_SIZE) { L1Table::get() .update(page_start as *const (), |l1_section| { + l1_section.tex = 0b100; l1_section.cacheable = false; l1_section.bufferable = false; });