kernel/vm.c
uint64
kvmpa(uint64 va)
{
  return kwalkaddr(kernel_pagetable, va);
}
// translate a kernel virtual address to
// a physical address. only needed for
// addresses on the stack.
// assumes va is page aligned.
translate a kernel virtual address to
a physical address. only needed for
addresses on the stack.
assumes va is page aligned.
translate a kernel virtual address to a physical address . only needed for addresses on the stack . assumes va is page aligned .
uint64
kvmpa(uint64 va)
{
  return kwalkaddr(kernel_pagetable, va);
}
uint64 kvmpa ( uint64 va ) { return kwalkaddr ( kernel_pagetable , va ) ; }
translate a kernel virtual address to
a physical address.
translate a kernel virtual address to a physical address .