PPN

Type Alias PPN 

Source
pub type PPN<Meta> = PageNumber<Meta, Physical>;
Expand description

物理页号。

Aliased Type§

pub struct PPN<Meta>(/* private fields */);

Implementations§

Source§

impl<Meta: VmMeta> PPN<Meta>

Source

pub const INVALID: Self

无效的物理页号,作为 NULL 使用。

显然,物理页号不可能和 usize 一样长,所以可以这样操作。

Source

pub const MAX: Self

最大物理页号。

Trait Implementations§

Source§

impl<Meta: VmMeta> Debug for PPN<Meta>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more