From 08fd1391c523d9a2b1fe9986bff796e27779bcc4 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Fri, 4 Sep 2020 13:18:39 +0800 Subject: [PATCH] libcortex_a9/mmu: enabled program flow prediction --- libcortex_a9/src/mmu.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libcortex_a9/src/mmu.rs b/libcortex_a9/src/mmu.rs index 9be0e4e..8780066 100644 --- a/libcortex_a9/src/mmu.rs +++ b/libcortex_a9/src/mmu.rs @@ -410,6 +410,7 @@ pub fn with_mmu !>(l1table: &L1Table, mut f: F) -> ! { .a(false) .c(true) .i(true) + .z(true) .unaligned(true) );