4
0
Эх сурвалжийг харах

Small typo fix for changelog

luojia65 3 жил өмнө
parent
commit
385f6f9433
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/ecall.rs

+ 1 - 1
src/ecall.rs

@@ -100,7 +100,7 @@ pub fn handle_ecall(extension: usize, function: usize, param: [usize; 6]) -> Sbi
 /// Call result returned by SBI
 ///
 /// After `handle_ecall` finished, you should save returned `error` in `a0`, and `value` in `a1`.
-#[repr(C)]
+#[repr(C)] // ensure that return value follows RISC-V SBI calling convention
 pub struct SbiRet {
     /// Error number
     pub error: usize,