Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 60ae470

Browse files
typo
1 parent 2035ae1 commit 60ae470

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎20_timer_callbacks/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ diff -uNr 19_kernel_heap/kernel/src/_arch/aarch64/time.rs 20_timer_callbacks/ker
5858
+
5959
+/// The associated IRQ number.
6060
+pub const fn timeout_irq() -> exception::asynchronous::IRQNumber {
61-
+ bsp::exception::asynchronous::irq_map::ARM_NS_PHYISCAL_TIMER
61+
+ bsp::exception::asynchronous::irq_map::ARM_NS_PHYSICAL_TIMER
6262
+}
6363
+
6464
+/// Program a timer IRQ to be fired after `delay` has passed.
@@ -398,7 +398,7 @@ diff -uNr 19_kernel_heap/kernel/src/bsp/raspberrypi/exception/asynchronous.rs 20
398398

399399
- pub const PL011_UART: IRQNumber = IRQNumber::Peripheral(PeripheralIRQ::new(57));
400400
+ /// The non-secure physical timer IRQ number.
401-
+ pub const ARM_NS_PHYISCAL_TIMER: IRQNumber = IRQNumber::Local(LocalIRQ::new(1));
401+
+ pub const ARM_NS_PHYSICAL_TIMER: IRQNumber = IRQNumber::Local(LocalIRQ::new(1));
402402
+
403403
+ pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::Peripheral(PeripheralIRQ::new(57));
404404
}
@@ -411,7 +411,7 @@ diff -uNr 19_kernel_heap/kernel/src/bsp/raspberrypi/exception/asynchronous.rs 20
411411

412412
- pub const PL011_UART: IRQNumber = IRQNumber::new(153);
413413
+ /// The non-secure physical timer IRQ number.
414-
+ pub const ARM_NS_PHYISCAL_TIMER: IRQNumber = IRQNumber::new(30);
414+
+ pub const ARM_NS_PHYSICAL_TIMER: IRQNumber = IRQNumber::new(30);
415415
+
416416
+ pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::new(153);
417417
}

‎20_timer_callbacks/kernel/src/_arch/aarch64/time.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub fn spin_for(duration: Duration) {
166166

167167
/// The associated IRQ number.
168168
pub const fn timeout_irq() -> exception::asynchronous::IRQNumber {
169-
bsp::exception::asynchronous::irq_map::ARM_NS_PHYISCAL_TIMER
169+
bsp::exception::asynchronous::irq_map::ARM_NS_PHYSICAL_TIMER
170170
}
171171

172172
/// Program a timer IRQ to be fired after `delay` has passed.

‎20_timer_callbacks/kernel/src/bsp/raspberrypi/exception/asynchronous.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub mod irq_map {
1919
use super::bsp::device_driver::{IRQNumber, LocalIRQ, PeripheralIRQ};
2020

2121
/// The non-secure physical timer IRQ number.
22-
pub const ARM_NS_PHYISCAL_TIMER: IRQNumber = IRQNumber::Local(LocalIRQ::new(1));
22+
pub const ARM_NS_PHYSICAL_TIMER: IRQNumber = IRQNumber::Local(LocalIRQ::new(1));
2323

2424
pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::Peripheral(PeripheralIRQ::new(57));
2525
}
@@ -30,7 +30,7 @@ pub mod irq_map {
3030
use super::bsp::device_driver::IRQNumber;
3131

3232
/// The non-secure physical timer IRQ number.
33-
pub const ARM_NS_PHYISCAL_TIMER: IRQNumber = IRQNumber::new(30);
33+
pub const ARM_NS_PHYSICAL_TIMER: IRQNumber = IRQNumber::new(30);
3434

3535
pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::new(153);
3636
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /