mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-30 11:03:58 +00:00
Rename some IOMMU functions
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
65a95cf6b7
commit
c2626da757
@ -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;
|
||||
|
Reference in New Issue
Block a user