small fix in mmu.rs documentation

This commit is contained in:
Rémi Rativel 2023-05-09 19:18:40 +02:00
parent 692c3bfa03
commit 28200ebc04

View File

@ -9,9 +9,9 @@
use crate::simulator::translationtable::*; use crate::simulator::translationtable::*;
use crate::simulator::machine::*; use crate::simulator::machine::*;
//! # Memory Management Unit /// # Memory Management Unit
//! An MMU possesses a single reference to a translation table /// An MMU possesses a single reference to a translation table
//! This table is associated to the current process /// This table is associated to the current process
pub struct MMU <'a>{ pub struct MMU <'a>{
/// Reference to a page table /// Reference to a page table
translationTable : Option<&'a mut TranslationTable>, translationTable : Option<&'a mut TranslationTable>,