mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 21:06:48 +00:00
Adjust VADDR_RANGE
in the implementation of PageTableMode
for DeviceMode
This commit is contained in:
parent
b1c066c1ad
commit
63d0a05e14
@ -20,8 +20,8 @@ use crate::{
|
|||||||
pub struct DeviceMode {}
|
pub struct DeviceMode {}
|
||||||
|
|
||||||
impl PageTableMode for DeviceMode {
|
impl PageTableMode for DeviceMode {
|
||||||
/// The device address space is 32-bit.
|
/// The device address width we currently support is 39-bit.
|
||||||
const VADDR_RANGE: Range<Vaddr> = 0..0x1_0000_0000;
|
const VADDR_RANGE: Range<Vaddr> = 0..0x80_0000_0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Default)]
|
#[derive(Clone, Debug, Default)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user