mirror of
https://github.com/rust-embedded/rust-raspberrypi-OS-tutorials.git
synced 2024-11-11 07:10:59 +00:00
Minor style fixes
This commit is contained in:
parent
7f54f0f7c2
commit
33b9b78f5e
@ -80,7 +80,7 @@ diff -uNr 03_hacky_hello_world/src/arch/aarch64.rs 04_zero_overhead_abstraction/
|
||||
+ SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
+ crate::runtime_init::init()
|
||||
+ } else {
|
||||
+ // if not core0, infinitely wait for events
|
||||
+ // If not core0, infinitely wait for events.
|
||||
+ wait_forever()
|
||||
+ }
|
||||
+}
|
||||
|
@ -22,7 +22,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ diff -uNr 06_drivers_gpio_uart/src/arch/aarch64.rs 07_uart_chainloader/src/arch/
|
||||
- crate::runtime_init::init()
|
||||
+ crate::relocate::relocate_self::<u64>()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
|
||||
diff -uNr 06_drivers_gpio_uart/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs 07_uart_chainloader/src/bsp/driver/bcm/bcm2xxx_pl011_uart.rs
|
||||
|
@ -24,7 +24,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::relocate::relocate_self::<u64>()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ diff -uNr 07_uart_chainloader/src/arch/aarch64.rs 08_timestamps/src/arch/aarch64
|
||||
- crate::relocate::relocate_self::<u64>()
|
||||
+ crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
@@ -30,6 +31,12 @@
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ pub unsafe extern "C" fn _start() -> ! {
|
||||
SP.set(bsp::BOOT_CORE_STACK_START);
|
||||
crate::runtime_init::init()
|
||||
} else {
|
||||
// if not core0, infinitely wait for events
|
||||
// If not core0, infinitely wait for events.
|
||||
wait_forever()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user