Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 25 of 30) sorted by relevance

12

/xen/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c34 unsigned long cr[5]; member
464 if ( reg >= ARRAY_SIZE(c->cr) ) in fuzz_read_cr()
467 *val = c->cr[reg]; in fuzz_read_cr()
482 if ( reg >= ARRAY_SIZE(c->cr) ) in fuzz_write_cr()
489 old = c->cr[reg]; in fuzz_write_cr()
490 c->cr[reg] = val; in fuzz_write_cr()
494 c->cr[reg] = old; in fuzz_write_cr()
663 printf(" cr0: %lx\n", c->cr[0]); in dump_state()
841 if ( c->cr[0] & X86_CR0_PG ) in sanitize_input()
842 c->cr[0] |= X86_CR0_PE; in sanitize_input()
[all …]
/xen/tools/libxl/
A Dlibxl_console.c743 cr->size = size; in libxl_xen_console_read_start()
744 cr->count = size; in libxl_xen_console_read_start()
745 cr->clear = clear; in libxl_xen_console_read_start()
746 cr->incremental = 1; in libxl_xen_console_read_start()
749 return cr; in libxl_xen_console_read_start()
767 memset(cr->buffer, 0, cr->size); in libxl_xen_console_read_line()
768 ret = xc_readconsolering(ctx->xch, cr->buffer, &cr->count, in libxl_xen_console_read_line()
769 cr->clear, cr->incremental, &cr->index); in libxl_xen_console_read_line()
776 if (cr->count) { in libxl_xen_console_read_line()
792 free(cr->buffer); in libxl_xen_console_read_finish()
[all …]
/xen/xen/include/asm-x86/hvm/
A Dmonitor.h37 #define hvm_monitor_crX(cr, new, old) \ argument
38 hvm_monitor_cr(VM_EVENT_X86_##cr, new, old)
A Dnestedhvm.h88 static inline void nestedhvm_set_cr(struct vcpu *v, unsigned int cr, in nestedhvm_set_cr() argument
93 v->arch.hvm.nvcpu.guest_cr[cr] = value; in nestedhvm_set_cr()
A Dsupport.h144 int hvm_mov_to_cr(unsigned int cr, unsigned int gpr);
145 int hvm_mov_from_cr(unsigned int cr, unsigned int gpr);
A Dhvm.h137 void (*update_guest_cr)(struct vcpu *v, unsigned int cr,
400 static inline void hvm_update_guest_cr(struct vcpu *v, unsigned int cr) in hvm_update_guest_cr() argument
402 alternative_vcall(hvm_funcs.update_guest_cr, v, cr, 0); in hvm_update_guest_cr()
/xen/xen/drivers/char/
A Dpl011.c94 unsigned int cr; in pl011_init_preirq() local
120 cr = pl011_read(uart, CR); in pl011_init_preirq()
121 cr &= RTS | DTR; in pl011_init_preirq()
122 pl011_write(uart, CR, cr | RXE | TXE | UARTEN); in pl011_init_preirq()
A Dns16550.c94 u16 cr; member
846 uart->cr = pci_conf_read16(PCI_SBDF(0, uart->ps_bdf[0], uart->ps_bdf[1], in ns16550_suspend()
870 PCI_COMMAND, uart->cr); in _ns16550_resume()
/xen/xen/include/asm-x86/hvm/svm/
A Dvmcb.h394 bool cr:1; /* 5: cr0, cr3, cr4, efer */ member
625 VMCB_ACCESSORS(cr0, cr)
626 VMCB_ACCESSORS(cr3, cr)
627 VMCB_ACCESSORS(cr4, cr)
628 VMCB_ACCESSORS(efer, cr)
A Dsvm.h50 void svm_update_guest_cr(struct vcpu *, unsigned int cr, unsigned int flags);
/xen/docs/process/
A Dbranching-checklist.txt56 ie add both eg qemu-upstream-4.2-testing and xen-4.2-testing to BRANCHES in cr-for-branches
87 Set off a manual osstest run, since the osstest cr-for-branches change
92 BRANCHES=xen-$v-testing ./cr-for-branches branches -w "./cr-daily-branch --real"
/xen/stubdom/c/
A DMakefile10 $(AR) cr $@ $^
/xen/tools/debugger/gdbsx/gx/
A DMakefile21 ar cr $@ $(GX_OBJS) # problem with ld using -m32
/xen/stubdom/vtpm/
A DMakefile24 ar -cr $@ $(OBJS)
/xen/tools/debugger/gdbsx/xg/
A DMakefile20 ar cr $@ $(XG_OBJS) # problems using -m32 in ld
/xen/tools/xl/
A Dxl_info.c890 libxl_xen_console_reader *cr; in main_dmesg() local
904 cr = libxl_xen_console_read_start(ctx, clear); in main_dmesg()
905 if (!cr) in main_dmesg()
908 while ((ret = libxl_xen_console_read_line(ctx, cr, &line)) > 0) in main_dmesg()
912 if (cr) in main_dmesg()
913 libxl_xen_console_read_finish(ctx, cr); in main_dmesg()
/xen/tools/ocaml/libs/xl/
A Dxenlight_stubs.c1122 libxl_xen_console_reader *cr; in stub_libxl_xen_console_read_start() local
1125 cr = libxl_xen_console_read_start(CTX, c_clear); in stub_libxl_xen_console_read_start()
1128 handle = caml_alloc_custom(&libxl_console_reader_custom_operations, sizeof(cr), 0, 1); in stub_libxl_xen_console_read_start()
1129 Console_reader_val(handle) = cr; in stub_libxl_xen_console_read_start()
1154 libxl_xen_console_reader *cr = (libxl_xen_console_reader *) Console_reader_val(reader); in stub_libxl_xen_console_read_line() local
1157 ret = libxl_xen_console_read_line(CTX, cr, &c_line); in stub_libxl_xen_console_read_line()
1173 libxl_xen_console_reader *cr = (libxl_xen_console_reader *) Console_reader_val(reader); in stub_libxl_xen_console_read_finish() local
1176 libxl_xen_console_read_finish(CTX, cr); in stub_libxl_xen_console_read_finish()
/xen/stubdom/grub/
A DMakefile77 $(AR) cr $@ $^
/xen/xen/arch/x86/hvm/vmx/
A Dvvmx.c2649 ASSERT(qual.cr == 0); in nvmx_n2_vmexit_handler()
2651 if ( qual.cr == 3 ) in nvmx_n2_vmexit_handler()
2658 else if ( qual.cr == 8 ) in nvmx_n2_vmexit_handler()
2681 if ( qual.cr == 0 ) in nvmx_n2_vmexit_handler()
2697 else if ( qual.cr == 4 ) in nvmx_n2_vmexit_handler()
2779 void nvmx_set_cr_read_shadow(struct vcpu *v, unsigned int cr) in nvmx_set_cr_read_shadow() argument
2783 switch ( cr ) in nvmx_set_cr_read_shadow()
2796 gdprintk(XENLOG_WARNING, "Set read shadow for CR%d.\n", cr); in nvmx_set_cr_read_shadow()
2813 v->arch.hvm.guest_cr[cr] &= ~virtual_cr_mask; in nvmx_set_cr_read_shadow()
2814 v->arch.hvm.guest_cr[cr] |= virtual_cr_mask & in nvmx_set_cr_read_shadow()
[all …]
/xen/xen/include/asm-x86/hvm/vmx/
A Dvvmx.h203 void nvmx_set_cr_read_shadow(struct vcpu *v, unsigned int cr);
/xen/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh93 xm cr $config
/xen/xen/arch/x86/hvm/svm/
A Dsvm.c471 void svm_update_guest_cr(struct vcpu *v, unsigned int cr, unsigned int flags) in svm_update_guest_cr() argument
476 switch ( cr ) in svm_update_guest_cr()
1766 int gp, cr, dir, rc; in svm_vmexit_do_cr_access() local
1768 cr = vmcb->exitcode - VMEXIT_CR0_READ; in svm_vmexit_do_cr_access()
1769 dir = (cr > 15); in svm_vmexit_do_cr_access()
1770 cr &= 0xf; in svm_vmexit_do_cr_access()
1773 rc = dir ? hvm_mov_to_cr(cr, gp) : hvm_mov_from_cr(cr, gp); in svm_vmexit_do_cr_access()
/xen/xen/arch/x86/hvm/
A Dhvm.c2128 int hvm_mov_to_cr(unsigned int cr, unsigned int gpr) in hvm_mov_to_cr() argument
2134 HVMTRACE_LONG_2D(CR_WRITE, cr, TRC_PAR_LONG(val)); in hvm_mov_to_cr()
2137 switch ( cr ) in hvm_mov_to_cr()
2163 gdprintk(XENLOG_ERR, "invalid cr: %d\n", cr); in hvm_mov_to_cr()
2177 int hvm_mov_from_cr(unsigned int cr, unsigned int gpr) in hvm_mov_from_cr() argument
2182 switch ( cr ) in hvm_mov_from_cr()
2194 gdprintk(XENLOG_ERR, "invalid cr: %u\n", cr); in hvm_mov_from_cr()
2199 HVMTRACE_LONG_2D(CR_READ, cr, TRC_PAR_LONG(val)); in hvm_mov_from_cr()
2245 v->arch.hvm.guest_cr[cr] = value; in hvm_update_cr()
2246 nestedhvm_set_cr(v, cr, value); in hvm_update_cr()
[all …]
/xen/tools/xentrace/
A Dxenalyze.c1353 unsigned cr; member
4085 long cr=(long)data; in hvm_cr_write_summary() local
4088 " cr%ld ", cr); in hvm_cr_write_summary()
4089 if ( cr==3 ) in hvm_cr_write_summary()
4181 unsigned cr; in hvm_cr_write_process() member
4185 unsigned cr; in hvm_cr_write_process() member
4189 unsigned cr; in hvm_cr_write_process() local
4193 h->inflight.cr_write.cr = cr = r->x64.cr; in hvm_cr_write_process()
4196 h->inflight.cr_write.cr = cr = r->x32.cr; in hvm_cr_write_process()
4217 cr, val); in hvm_cr_write_process()
[all …]
/xen/tools/xenstore/
A DMakefile85 $(AR) cr $@ $^

Completed in 68 milliseconds

12