Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 05_drivers_gpio_uart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1464,7 +1464,7 @@ diff -uNr 04_safe_globals/src/driver.rs 05_drivers_gpio_uart/src/driver.rs
+ }
+}
+
+/// Tpye to be used as an optional callback after a driver's init() has run.
+/// Type to be used as an optional callback after a driver's init() has run.
+pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;
+
+/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 05_drivers_gpio_uart/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 06_uart_chainloader/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 07_timestamps/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 08_hw_debug_JTAG/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 09_privilege_level/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 10_virtual_mem_part1_identity_mapping/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 11_exceptions_part1_groundwork/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 12_integrated_testing/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 13_exceptions_part2_peripheral_IRQs/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 14_virtual_mem_part2_mmio_remap/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 17_kernel_symbols/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 18_backtrace/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 19_kernel_heap/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion 20_timer_callbacks/kernel/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
2 changes: 1 addition & 1 deletion X1_JTAG_boot/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub mod interface {
}
}

/// Tpye to be used as an optional callback after a driver's init() has run.
/// Type to be used as an optional callback after a driver's init() has run.
pub type DeviceDriverPostInitCallback = unsafe fn() -> Result<(), &'static str>;

/// A descriptor for device drivers.
Expand Down
Loading