Skip to content

Commit 7038df3

Browse files
committed
Fix Typos: Make pmpcfg0 and pmpcfg1 public modules
1 parent 726d516 commit 7038df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/register/pmpcfgx.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ impl Pmpcsr {
8080

8181
/// Physical memory protection configuration
8282
/// pmpcfg0 struct contains pmp0cfg - pmp3cfg for RV32, and pmp0cfg - pmp7cfg for RV64
83-
mod pmpcfg0 {
83+
pub mod pmpcfg0 {
8484
use super::{Permission, Pmpcsr, Range};
8585
use bit_field::BitField;
8686

@@ -107,7 +107,7 @@ mod pmpcfg0 {
107107
/// Physical memory protection configuration
108108
/// pmpcfg1 struct contains pmp4cfg - pmp7cfg for RV32 only
109109
#[cfg(riscv32)]
110-
mod pmpcfg1 {
110+
pub mod pmpcfg1 {
111111
use super::{Permission, Pmpcsr, Range};
112112
use bit_field::BitField;
113113

0 commit comments

Comments
 (0)