Minor style fixes

This commit is contained in:
Andre Richter 2019-10-31 19:58:08 +01:00
parent 7f54f0f7c2
commit 33b9b78f5e
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E
9 changed files with 9 additions and 9 deletions

View File

@ -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()
+ }
+}

View File

@ -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()
}
}

View File

@ -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()
}
}

View File

@ -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()
}
}

View File

@ -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

View File

@ -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()
}
}

View File

@ -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 @@
}

View File

@ -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()
}
}

View File

@ -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()
}
}