Explorar o código

Fix Typos: Make pmpcfg0 and pmpcfg1 public modules

dkhayes117 %!s(int64=3) %!d(string=hai) anos
pai
achega
7038df3c18
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/register/pmpcfgx.rs

+ 2 - 2
src/register/pmpcfgx.rs

@@ -80,7 +80,7 @@ impl Pmpcsr {
 
 
 /// Physical memory protection configuration
 /// Physical memory protection configuration
 /// pmpcfg0 struct contains pmp0cfg - pmp3cfg for RV32, and pmp0cfg - pmp7cfg for RV64
 /// pmpcfg0 struct contains pmp0cfg - pmp3cfg for RV32, and pmp0cfg - pmp7cfg for RV64
-mod pmpcfg0 {
+pub mod pmpcfg0 {
     use super::{Permission, Pmpcsr, Range};
     use super::{Permission, Pmpcsr, Range};
     use bit_field::BitField;
     use bit_field::BitField;
 
 
@@ -107,7 +107,7 @@ mod pmpcfg0 {
 /// Physical memory protection configuration
 /// Physical memory protection configuration
 /// pmpcfg1 struct contains pmp4cfg - pmp7cfg for RV32 only
 /// pmpcfg1 struct contains pmp4cfg - pmp7cfg for RV32 only
 #[cfg(riscv32)]
 #[cfg(riscv32)]
-mod pmpcfg1 {
+pub mod pmpcfg1 {
     use super::{Permission, Pmpcsr, Range};
     use super::{Permission, Pmpcsr, Range};
     use bit_field::BitField;
     use bit_field::BitField;