Rename some IOMMU functions

This commit is contained in:
Yuke Peng
2024-11-07 10:29:42 +08:00
committed by Tate, Hongliang Tian
parent 65a95cf6b7
commit c2626da757
3 changed files with 18 additions and 18 deletions

View File

@ -77,7 +77,7 @@ pub(super) fn init() {
let mut iommu_regs = IOMMU_REGS.get().unwrap().lock();
// Check if interrupt remapping is supported
let extend_cap = iommu_regs.extended_capability();
let extend_cap = iommu_regs.read_extended_capability();
if !extend_cap.flags().contains(ExtendedCapabilityFlags::IR) {
warn!("[IOMMU] Interrupt remapping not supported");
return;