pub struct PageTableShuttle<Meta: VmMeta, F: Fn(PPN<Meta>) -> VPN<Meta>> {
    pub table: PageTable<Meta>,
    pub f: F,
}
Expand description

页表穿梭机。

结合物理页到虚页的翻译算法实现对页表的任意访问。

Fields

table: PageTable<Meta>

一个页表。

f: F

翻译函数。

Implementations

使用访问器 visitor 遍历页表。

使用访问器 visitor 遍历并修改页表。

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.