experiments: fix broken build

This commit is contained in:
pca006132 2021-01-26 12:53:26 +08:00
parent 6e6612bc3e
commit 7681745282
1 changed files with 1 additions and 1 deletions

View File

@ -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();