diff --git a/ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs b/ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs index b842401bc..3b9e8449c 100644 --- a/ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs +++ b/ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs @@ -20,8 +20,8 @@ use crate::{ pub struct DeviceMode {} impl PageTableMode for DeviceMode { - /// The device address space is 32-bit. - const VADDR_RANGE: Range = 0..0x1_0000_0000; + /// The device address width we currently support is 39-bit. + const VADDR_RANGE: Range = 0..0x80_0000_0000; } #[derive(Clone, Debug, Default)]