1
0
Fork 0

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] #[no_mangle]
pub fn main_core0() { pub fn main_core0() {
// zynq::clocks::CpuClocks::enable_io(1_250_000_000); // zynq::clocks::CpuClocks::enable_io(1_250_000_000);
enable_l2_cache(); enable_l2_cache(0x8);
println!("\nZynq experiments"); println!("\nZynq experiments");
let mut interrupt_controller = gic::InterruptController::gic(mpcore::RegisterBlock::mpcore()); let mut interrupt_controller = gic::InterruptController::gic(mpcore::RegisterBlock::mpcore());
interrupt_controller.enable_interrupts(); interrupt_controller.enable_interrupts();