zircon/kernel/arch/x86/mmu.cc
/**
 * @brief  check if the virtual address is aligned and canonical
 */
@brief  check if the virtual address is aligned and canonical
@brief check if the virtual address is aligned and canonical
static bool x86_mmu_check_vaddr(vaddr_t vaddr) {
  if (!IS_ALIGNED(vaddr, PAGE_SIZE))
    return false;
  return x86_is_vaddr_canonical(vaddr);
}
static bool x86_mmu_check_vaddr ( vaddr_t vaddr ) { if ( ! IS_ALIGNED ( vaddr , PAGE_SIZE ) ) return false ; return x86_is_vaddr_canonical ( vaddr ) ; }
@brief  check if the virtual address is aligned and canonical
@brief check if the virtual address is aligned and canonical
/* Check to see if the address is PAGE aligned */