Home
last modified time | relevance | path

Searched refs:is_canonical_address (Results 1 – 18 of 18) sorted by relevance

/xen/xen/arch/x86/pv/
A Dcallback.c35 if ( !is_canonical_address(address) ) in register_guest_nmi_callback()
68 if ( !is_canonical_address(reg->address) ) in register_guest_callback()
371 if ( !is_canonical_address(cur.address) ) in do_set_trap_table()
A Demul-priv-op.c979 if ( is_pv_32bit_domain(currd) || !is_canonical_address(val) ) in write_msr()
985 if ( is_pv_32bit_domain(currd) || !is_canonical_address(val) ) in write_msr()
991 if ( is_pv_32bit_domain(currd) || !is_canonical_address(val) ) in write_msr()
/xen/xen/arch/x86/
A Ddomain.c843 if ( !is_canonical_address(c.nat->user_regs.rip) || in arch_set_info_guest()
844 !is_canonical_address(c.nat->user_regs.rsp) || in arch_set_info_guest()
845 !is_canonical_address(c.nat->kernel_sp) || in arch_set_info_guest()
846 (c.nat->ldt_ents && !is_canonical_address(c.nat->ldt_base)) || in arch_set_info_guest()
847 !is_canonical_address(c.nat->fs_base) || in arch_set_info_guest()
848 !is_canonical_address(c.nat->gs_base_kernel) || in arch_set_info_guest()
849 !is_canonical_address(c.nat->gs_base_user) || in arch_set_info_guest()
850 !is_canonical_address(c.nat->event_callback_eip) || in arch_set_info_guest()
851 !is_canonical_address(c.nat->syscall_callback_eip) || in arch_set_info_guest()
852 !is_canonical_address(c.nat->failsafe_callback_eip) ) in arch_set_info_guest()
[all …]
A Ddomctl.c862 if ( !is_canonical_address(evc->sysenter_callback_eip) || in arch_do_domctl()
863 !is_canonical_address(evc->syscall32_callback_eip) ) in arch_do_domctl()
A Dtraps.c1238 if ( unlikely(!is_canonical_address(curr->arch.pv.ldt_base + offset)) ) in handle_ldt_mapping_fault()
A Dmm.c6252 if ( !is_canonical_address(linear) ) in paging_invlpg()
/xen/xen/include/asm-x86/x86_64/
A Dpage.h33 #define is_canonical_address(x) (((long)(x) >> 47) == ((long)(x) >> 63)) macro
/xen/tools/tests/x86_emulator/
A Dx86-emulate.h68 #define is_canonical_address(x) (((int64_t)(x) >> 47) == ((int64_t)(x) >> 63)) macro
/xen/xen/arch/x86/x86_64/
A Dmm.c55 if ( !is_pv_vcpu(v) || !is_canonical_address(addr) ) in do_page_walk()
1004 if ( is_canonical_address(base) ) in do_set_segment_base()
1011 if ( is_canonical_address(base) ) in do_set_segment_base()
1021 if ( is_canonical_address(base) ) in do_set_segment_base()
A Dtraps.c194 if ( !is_canonical_address(addr) ) in show_page_walk()
/xen/tools/libxc/
A Dxc_sr_save_x86_pv.c7 static inline bool is_canonical_address(xen_vaddr_t vaddr) in is_canonical_address() function
343 if ( !is_canonical_address(p2m_vaddr) || in map_p2m_list()
344 !is_canonical_address(p2m_end) || in map_p2m_list()
/xen/xen/arch/x86/cpu/
A Dvpmu_intel.c395 ? is_canonical_address(core2_vpmu_cxt->ds_area) in core2_vpmu_verify()
571 if ( !(is_hvm_vcpu(v) ? is_canonical_address(msr_content) in core2_vpmu_do_wrmsr()
/xen/xen/arch/x86/hvm/
A Ddomain.c221 if ( !is_canonical_address(regs->rip) ) in arch_set_info_hvm_guest()
A Dhvm.c332 !is_canonical_address(val) || in hvm_set_guest_bndcfgs()
2569 if ( !is_canonical_address((long)addr < 0 ? addr : last_byte) ) in hvm_virtual_to_linear_addr()
5287 ASSERT(is_canonical_address(reg->base)); in hvm_set_segment_register()
5298 ASSERT(is_canonical_address(reg->base)); in hvm_set_segment_register()
5311 ASSERT(is_canonical_address(reg->base)); in hvm_set_segment_register()
5317 ASSERT(is_canonical_address(reg->base)); in hvm_set_segment_register()
/xen/xen/arch/x86/hvm/vmx/
A Dvmx.c3183 if ( !is_canonical_address(msr_content) ) in vmx_msr_write_intercept()
3188 if ( !is_canonical_address(msr_content) ) in vmx_msr_write_intercept()
3196 if ( !is_canonical_address(msr_content) ) in vmx_msr_write_intercept()
3214 if ( !is_canonical_address(msr_content) ) in vmx_msr_write_intercept()
3221 if ( !is_canonical_address(msr_content) ) in vmx_msr_write_intercept()
4309 if ( mode == 8 ? !is_canonical_address(regs->rip) in vmx_vmexit_handler()
A Dvvmx.c450 !is_canonical_address((long)base < 0 ? base : in decode_vmx_inst()
/xen/xen/arch/x86/x86_emulate/
A Dx86_emulate.c1376 ? !is_canonical_address(ip) \
2249 !is_canonical_address((uint64_t)desc_hi.a << 32)) ) in protmode_load_seg()
5920 generate_exception_if(!is_canonical_address(base), EXC_GP, 0); in x86_emulate()
6173 op_bytes == 8 && !is_canonical_address(_regs.rcx), in x86_emulate()
6943 (!is_canonical_address(_regs.r(dx)) || in x86_emulate()
6944 !is_canonical_address(_regs.r(cx))), in x86_emulate()
8334 generate_exception_if(!is_canonical_address(sreg.base), in x86_emulate()
9625 generate_exception_if(!is_canonical_address(mmvalp->xmm[1]), in x86_emulate()
/xen/xen/arch/x86/hvm/svm/
A Dsvm.c1987 if ( !is_canonical_address(msr_content) ) in svm_msr_write_intercept()

Completed in 96 milliseconds