From 7542105f0f8071c4b12e1682b6b5563284bdbc29 Mon Sep 17 00:00:00 2001 From: occheung Date: Tue, 17 Aug 2021 11:49:07 +0800 Subject: [PATCH] board_misoc: remove pcr VexRiscv seems to not support additional hardware performance counter, at least I have not seen any documentation on how to use it. --- artiq/firmware/ksupport/api.rs | 3 --- artiq/firmware/libboard_artiq/lib.rs | 2 -- 2 files changed, 5 deletions(-) diff --git a/artiq/firmware/ksupport/api.rs b/artiq/firmware/ksupport/api.rs index 84e69dad5..7b219562c 100644 --- a/artiq/firmware/ksupport/api.rs +++ b/artiq/firmware/ksupport/api.rs @@ -131,9 +131,6 @@ static mut API: &'static [(&'static str, *const ())] = &[ api!(cache_get = ::cache_get), api!(cache_put = ::cache_put), - api!(mfspr = ::board_misoc::spr::mfspr), - api!(mtspr = ::board_misoc::spr::mtspr), - /* direct syscalls */ api!(rtio_init = ::rtio::init), api!(rtio_get_destination_status = ::rtio::get_destination_status), diff --git a/artiq/firmware/libboard_artiq/lib.rs b/artiq/firmware/libboard_artiq/lib.rs index 448b10f9e..1550db7dd 100644 --- a/artiq/firmware/libboard_artiq/lib.rs +++ b/artiq/firmware/libboard_artiq/lib.rs @@ -15,8 +15,6 @@ extern crate io; extern crate board_misoc; extern crate proto_artiq; -pub mod pcr; - pub mod spi; #[cfg(has_kernel_cpu)]