fn map_page_in_this_table<S: PageSize>(
		&mut self,
		page: Page<S>,
		physical_address: usize,
		flags: PageTableEntryFlags,
	) -> bool {
		assert!(L::LEVEL == S::MAP_LEVEL);
		let index = page.table_index::<L>();
		let flush = self.entries[index].is_present();

		self.entries[index].set(
			physical_address,
			PageTableEntryFlags::DIRTY | S::MAP_EXTRA_FLAG | flags,
		);

		if flush {
			page.flush_from_tlb();
		}

		flush
	}
/// Maps a single page in this table to the given physical address.
/// Returns whether an existing entry was updated. You can use this return value to flush TLBs.
///
/// Must only be called if a page of this size is mapped at this page table level!
Maps a single page in this table to the given physical address.
Returns whether an existing entry was updated. You can use this return value to flush TLBs.

Must only be called if a page of this size is mapped at this page table level!
Maps a single page in this table to the given physical address . Returns whether an existing entry was updated . You can use this return value to flush TLBs . Must only be called if a page of this size is mapped at this page table level!
fn map_page_in_this_table<S: PageSize>(
		&mut self,
		page: Page<S>,
		physical_address: usize,
		flags: PageTableEntryFlags,
	) -> bool {
		assert!(L::LEVEL == S::MAP_LEVEL);
		let index = page.table_index::<L>();
		let flush = self.entries[index].is_present();
		self.entries[index].set(
			physical_address,
			PageTableEntryFlags::DIRTY | S::MAP_EXTRA_FLAG | flags,
		);
		if flush {
			page.flush_from_tlb();
		}
		flush
	}
fn map_page_in_this_table < S : PageSize > ( & mut self , page : Page < S > , physical_address : usize , flags : PageTableEntryFlags , ) -> bool { assert ! ( L LEVEL S MAP_LEVEL ) ; let index = page . table_index :: < L > ( ) ; let flush = self . entries [ index ] . is_present ( ) ; self . entries [ index ] . set ( physical_address , PageTableEntryFlags :: DIRTY | S :: MAP_EXTRA_FLAG | flags , ) ; if flush { page . flush_from_tlb ( ) ; } flush }
Maps a single page in this table to the given physical address.
Maps a single page in this table to the given physical address .
&mut self
page
Page<S>
physical_address
usize
flags
PageTableEntryFlags
&mut self
page
Page<S>
physical_address
usize
flags
PageTableEntryFlags