Searched refs:Arch (Results 1 – 5 of 5) sorted by relevance
21 pub struct PageTable<Arch> {28 phantom: PhantomData<Arch>,32 impl<Arch: MemoryManagementArch> PageTable<Arch> {54 Arch::table(table_kind), in top_level_table()55 Arch::PAGE_LEVELS - 1, in top_level_table()80 return Arch::phys_2_virt(self.phys).unwrap(); in virt()85 if i < Arch::PAGE_ENTRY_NUM { in entry_base()86 let shift = self.level * Arch::PAGE_ENTRY_SHIFT + Arch::PAGE_SHIFT; in entry_base()95 if i < Arch::PAGE_ENTRY_NUM { in entry_virt()96 return Some(self.virt().add(i * Arch::PAGE_ENTRY_SIZE)); in entry_virt()[all …]
7 #error Arch not supported.
10 #error Arch not supported.
10   对于Linux发行版,建议使用Ubuntu22、Debian、Arch Linux这样的,仓库软件版本较新的发行版,这能为您减少很多麻烦。
48 #error Arch not supported.