mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 00:23:24 +00:00
Refactor the document of IOMMU functions
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
c2626da757
commit
12aa9fc857
@ -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;
|
||||
|
Reference in New Issue
Block a user