File tree 3 files changed +6
-6
lines changed
bsp/raspberrypi/exception
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ diff -uNr 19_kernel_heap/kernel/src/_arch/aarch64/time.rs 20_timer_callbacks/ker
58
58
+
59
59
+ /// The associated IRQ number.
60
60
+ 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
62
62
+ }
63
63
+
64
64
+ /// 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
398
398
399
399
- pub const PL011_UART: IRQNumber = IRQNumber::Peripheral(PeripheralIRQ::new(57));
400
400
+ /// 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));
402
402
+
403
403
+ pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::Peripheral(PeripheralIRQ::new(57));
404
404
}
@@ -411,7 +411,7 @@ diff -uNr 19_kernel_heap/kernel/src/bsp/raspberrypi/exception/asynchronous.rs 20
411
411
412
412
- pub const PL011_UART: IRQNumber = IRQNumber::new(153);
413
413
+ /// 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);
415
415
+
416
416
+ pub(in crate::bsp) const PL011_UART: IRQNumber = IRQNumber::new(153);
417
417
}
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ pub fn spin_for(duration: Duration) {
166
166
167
167
/// The associated IRQ number.
168
168
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
170
170
}
171
171
172
172
/// Program a timer IRQ to be fired after `delay` has passed.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub mod irq_map {
19
19
use super :: bsp:: device_driver:: { IRQNumber , LocalIRQ , PeripheralIRQ } ;
20
20
21
21
/// 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 ) ) ;
23
23
24
24
pub ( in crate :: bsp) const PL011_UART : IRQNumber = IRQNumber :: Peripheral ( PeripheralIRQ :: new ( 57 ) ) ;
25
25
}
@@ -30,7 +30,7 @@ pub mod irq_map {
30
30
use super :: bsp:: device_driver:: IRQNumber ;
31
31
32
32
/// 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 ) ;
34
34
35
35
pub ( in crate :: bsp) const PL011_UART : IRQNumber = IRQNumber :: new ( 153 ) ;
36
36
}
You can’t perform that action at this time.
0 commit comments