File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub enum Range {
23
23
NAPOT = 0b11 ,
24
24
}
25
25
26
- /// Pmp struct holds a readable configuration of a single pmp
26
+ /// Pmp struct holds a high-level representation of a single pmp configuration
27
27
#[ derive( Clone , Copy , Debug ) ]
28
28
pub struct Pmp {
29
29
/// raw bits
@@ -37,12 +37,12 @@ pub struct Pmp {
37
37
}
38
38
39
39
pub struct Pmpcsr {
40
- /// Holds the raw contents of the PMP CSR Register
40
+ /// Holds the raw contents of a PMP CSR Register
41
41
pub bits : usize ,
42
42
}
43
43
44
44
impl Pmpcsr {
45
- /// Take the register contents and translates into a Pmp configuration struct
45
+ /// Take the register contents and translate into a Pmp configuration struct
46
46
#[ inline]
47
47
pub fn into_config ( & self , index : usize ) -> Pmp {
48
48
#[ cfg( riscv32) ]
You can’t perform that action at this time.
0 commit comments