abort: rename to exception_vectors

pull/112/head
morgan 2024-03-07 12:26:28 +08:00
parent 9005b73316
commit 7c58c0cf43
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ use libcortex_a9::{
};
use libregister::{RegisterR, RegisterW};
use libsupport_zynq::{
abort, boot, ram,
boot, exception_vectors, ram,
};
use log::{info, warn};
use core::sync::atomic::{AtomicBool, Ordering};
@ -96,7 +96,7 @@ pub fn restart_core1() {
#[no_mangle]
pub fn main_core0() {
abort::set_vector_table(0x0);
exception_vectors::set_vector_table(0x0);
// zynq::clocks::CpuClocks::enable_io(1_250_000_000);
enable_l2_cache(0x8);
println!("\nZynq experiments");

View File

@ -9,7 +9,7 @@ pub extern crate alloc;
pub extern crate compiler_builtins;
pub mod boot;
pub mod abort;
pub mod exception_vectors;
#[cfg(feature = "panic_handler")]
mod panic;
pub mod ram;