1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-08-08 00:12:51 +02:00

cargo: bump the minor group in /src/exercises/bare-metal/rtc with 2 updates (#2835)

Bumps the minor group in /src/exercises/bare-metal/rtc with 2 updates:
[aarch64-paging](https://github.com/google/aarch64-paging) and
[arm-gic](https://github.com/google/arm-gic).

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com>
This commit is contained in:
dependabot[bot]
2025-08-06 17:24:36 +00:00
committed by GitHub
parent bb1f5646f9
commit 7fbaa23a2e
3 changed files with 9 additions and 9 deletions

View File

@ -4,9 +4,9 @@ version = 4
[[package]] [[package]]
name = "aarch64-paging" name = "aarch64-paging"
version = "0.9.1" version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3b8f725e9256b2fac2d25e013e22a6a391b8c07e23c4c5eac6e037a78a28801" checksum = "1f02b5bfa3a481fdade5948a994ce93aa6c76f67fc19f3a9b270565cf7dfc657"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"thiserror", "thiserror",
@ -23,9 +23,9 @@ dependencies = [
[[package]] [[package]]
name = "arm-gic" name = "arm-gic"
version = "0.4.0" version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd58684ee8041735b64d9e731b18c5515397ee4487f56f7cb9a409c8cbd17839" checksum = "7ef1a9754e7f526d1740ac6bc7db15cd804294917e66fed899f9a94176ac19b9"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"safe-mmio", "safe-mmio",

View File

@ -7,9 +7,9 @@ edition = "2024"
publish = false publish = false
[dependencies] [dependencies]
aarch64-paging = { version = "0.9.1", default-features = false } aarch64-paging = { version = "0.10.0", default-features = false }
aarch64-rt = "0.2.2" aarch64-rt = "0.2.2"
arm-gic = "0.4.0" arm-gic = "0.6.0"
arm-pl011-uart = "0.3.1" arm-pl011-uart = "0.3.1"
bitflags = "2.9.1" bitflags = "2.9.1"
chrono = { version = "0.4.41", default-features = false } chrono = { version = "0.4.41", default-features = false }

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
use arm_gic::gicv3::GicV3; use arm_gic::gicv3::{GicV3, InterruptGroup};
use log::{error, info, trace}; use log::{error, info, trace};
use smccc::Hvc; use smccc::Hvc;
use smccc::psci::system_off; use smccc::psci::system_off;
@ -28,8 +28,8 @@ extern "C" fn sync_exception_current(_elr: u64, _spsr: u64) {
#[unsafe(no_mangle)] #[unsafe(no_mangle)]
extern "C" fn irq_current(_elr: u64, _spsr: u64) { extern "C" fn irq_current(_elr: u64, _spsr: u64) {
trace!("irq_current"); trace!("irq_current");
let intid = let intid = GicV3::get_and_acknowledge_interrupt(InterruptGroup::Group1)
GicV3::get_and_acknowledge_interrupt().expect("No pending interrupt"); .expect("No pending interrupt");
info!("IRQ {intid:?}"); info!("IRQ {intid:?}");
} }