Parcourir la source

rustsbi: minor document fix on fence module

Signed-off-by: luojia65 <[email protected]>
luojia65 il y a 3 ans
Parent
commit
38b2fa647e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/rfence.rs

+ 1 - 1
src/rfence.rs

@@ -6,7 +6,7 @@ use alloc::boxed::Box;
 /// Remote fence support
 ///
 /// The remote fence function acts as a full TLB flush if
-/// - `start_addr` and `size` are both 0, and
+/// - `start_addr` and `size` are both 0, or
 /// - `size` is equal to `usize::MAX`.
 pub trait Rfence: Send {
     /// Instructs remote harts to execute `FENCE.I` instruction.