From 76817452828ef2dd34c479186af8fb5004931850 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Tue, 26 Jan 2021 12:53:26 +0800 Subject: [PATCH] experiments: fix broken build --- experiments/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/experiments/src/main.rs b/experiments/src/main.rs index f35e0dd..76219ca 100644 --- a/experiments/src/main.rs +++ b/experiments/src/main.rs @@ -87,7 +87,7 @@ pub fn restart_core1() { #[no_mangle] pub fn main_core0() { // zynq::clocks::CpuClocks::enable_io(1_250_000_000); - enable_l2_cache(); + enable_l2_cache(0x8); println!("\nZynq experiments"); let mut interrupt_controller = gic::InterruptController::gic(mpcore::RegisterBlock::mpcore()); interrupt_controller.enable_interrupts();