Skip to content

Commit fcbb674

Browse files
Fix doc links.
1 parent a4d8e2f commit fcbb674

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cortex-ar/src/pmsav8.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl El1Mpu {
6969
///
7070
/// ## Arguments
7171
///
72-
/// - `region`: The [Region] object containing the configuration for the MPU region.
72+
/// - `region`: The [El1Region] object containing the configuration for the MPU region.
7373
/// - `idx`: The index of the region to be configured.
7474
///
7575
/// ## Errors
@@ -116,7 +116,7 @@ impl El1Mpu {
116116
/// ## Arguments
117117
///
118118
/// - `regions_starting_idx`: The starting index for the regions to be reconfigured.
119-
/// - `regions`: A slice of [Region] objects that will overwrite the previous regions starting from `regions_starting_idx`.
119+
/// - `regions`: A slice of [El1Region] objects that will overwrite the previous regions starting from `regions_starting_idx`.
120120
pub fn set_regions(
121121
&mut self,
122122
regions_starting_idx: u8,
@@ -163,7 +163,8 @@ impl El1Mpu {
163163

164164
/// Configure the EL1 MPU
165165
///
166-
/// Write regions, attributes and enable/disable the background region with a single [Config] struct.
166+
/// Write regions, attributes and enable/disable the background region
167+
/// with a single [El1Config] struct.
167168
pub fn configure(&mut self, config: &El1Config) -> Result<(), Error> {
168169
self.set_regions(0, config.regions)?;
169170

0 commit comments

Comments
 (0)