Refactor the document of IOMMU functions

This commit is contained in:
Yuke Peng
2024-11-07 10:35:38 +08:00
committed by Tate, Hongliang Tian
parent c2626da757
commit 12aa9fc857
7 changed files with 15 additions and 15 deletions

View File

@ -157,7 +157,7 @@ impl IrtEntry {
self.0 = 0
}
/// Enable this entry with no validation,
/// Enables this entry with no validation,
/// DST = 0, IM = 0, DLM = 0, TM = 0, RH = 0, DM = 0, FPD = 1, P = 1
pub fn enable_default(&mut self, vector: u32) {
self.0 = 0b11 | (vector as u128) << 16;