chore(docs): Try to generate documentation using tabnine

This commit is contained in:
Berkus Decker 2023-12-12 15:02:39 +02:00
parent bcba5b7a4d
commit fbfcfcff8a
1 changed files with 12 additions and 0 deletions

View File

@ -124,6 +124,18 @@ impl MappingRecord {
})
}
/// Adds a new mapping to the mapping record.
///
/// # Arguments
///
/// * `name` - The name of the entity that owns the mapping.
/// * `virt_region` - The virtual memory region being mapped.
/// * `phys_region` - The physical memory region being mapped.
/// * `attr` - The memory attributes of the mapping.
///
/// # Returns
///
/// Returns `Ok(())` on success, or a string error message on failure.
pub fn add(
&mut self,
name: &'static str,