1
0
Fork 0

fix typos

This commit is contained in:
Sebastien Bourdeauducq 2020-07-10 16:36:45 +08:00
parent 2d58193930
commit 407e18a6a0
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ impl KernelImage {
pub unsafe fn exec(&mut self) {
// Flush data cache entries for the image in DDR, including
// Memory/Instruction Symchronization Barriers
// Memory/Instruction Synchronization Barriers
dcci_slice(self.library.image.data);
(mem::transmute::<u32, fn()>(self.__modinit__))();

View File

@ -53,7 +53,7 @@ pub fn main_core0() {
error!("decompression failed");
} else {
// Flush data cache entries for all of DDR, including
// Memory/Instruction Symchronization Barriers
// Memory/Instruction Synchronization Barriers
dcci_slice(unsafe {
core::slice::from_raw_parts(ddr.ptr::<u8>(), ddr.size())
});