rustubs::arch::x86_64::paging

Function get_cr3

Source
pub fn get_cr3() -> u64
Expand description

for x86_64, return the CR3 register. this is the physical address of the page table root. TODO: use page root in task struct instead of raw cr3