Home
last modified time | relevance | path

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

12

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_console.c801 cr->size = size; in libxl_xen_console_read_start()
802 cr->count = size; in libxl_xen_console_read_start()
803 cr->clear = clear; in libxl_xen_console_read_start()
804 cr->incremental = 1; in libxl_xen_console_read_start()
807 return cr; in libxl_xen_console_read_start()
825 memset(cr->buffer, 0, cr->size); in libxl_xen_console_read_line()
826 ret = xc_readconsolering(ctx->xch, cr->buffer, &cr->count, in libxl_xen_console_read_line()
827 cr->clear, cr->incremental, &cr->index); in libxl_xen_console_read_line()
834 if (cr->count) { in libxl_xen_console_read_line()
850 free(cr->buffer); in libxl_xen_console_read_finish()
[all …]
/xen-4.10.0-shim-comet/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c28 unsigned long cr[5]; member
432 if ( reg >= ARRAY_SIZE(c->cr) ) in fuzz_read_cr()
435 *val = c->cr[reg]; in fuzz_read_cr()
449 if ( reg >= ARRAY_SIZE(c->cr) ) in fuzz_write_cr()
456 c->cr[reg] = val; in fuzz_write_cr()
508 (c->cr[0] & X86_CR0_PG) ) in fuzz_read_msr()
610 printf(" cr0: %lx\n", c->cr[0]); in dump_state()
611 printf(" cr3: %lx\n", c->cr[3]); in dump_state()
612 printf(" cr4: %lx\n", c->cr[4]); in dump_state()
783 if ( c->cr[0] & X86_CR0_PG ) in sanitize_input()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/
A Dmonitor.h38 #define hvm_monitor_crX(cr, new, old) \ argument
39 hvm_monitor_cr(VM_EVENT_X86_##cr, new, old)
A Dnestedhvm.h75 static inline void nestedhvm_set_cr(struct vcpu *v, unsigned int cr, in nestedhvm_set_cr() argument
80 v->arch.hvm_vcpu.nvcpu.guest_cr[cr] = value; in nestedhvm_set_cr()
A Dsupport.h146 int hvm_mov_to_cr(unsigned int cr, unsigned int gpr);
147 int hvm_mov_from_cr(unsigned int cr, unsigned int gpr);
A Dhvm.h135 void (*update_guest_cr)(struct vcpu *v, unsigned int cr);
327 static inline void hvm_update_guest_cr(struct vcpu *v, unsigned int cr) in hvm_update_guest_cr() argument
329 hvm_funcs.update_guest_cr(v, cr); in hvm_update_guest_cr()
/xen-4.10.0-shim-comet/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.c93 u16 cr; member
792 uart->cr = pci_conf_read16(0, uart->ps_bdf[0], uart->ps_bdf[1], in ns16550_suspend()
814 PCI_COMMAND, uart->cr); in _ns16550_resume()
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/svm/
A Dvmcb.h382 uint32_t cr: 1; member
576 VMCB_ACCESSORS(cr0, cr)
577 VMCB_ACCESSORS(cr3, cr)
578 VMCB_ACCESSORS(cr4, cr)
579 VMCB_ACCESSORS(efer, cr)
A Dsvm.h54 void svm_update_guest_cr(struct vcpu *, unsigned int cr);
/xen-4.10.0-shim-comet/stubdom/c/
A DMakefile10 $(AR) cr $@ $^
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/gx/
A DMakefile21 ar cr $@ $(GX_OBJS) # problem with ld using -m32
/xen-4.10.0-shim-comet/stubdom/vtpm/
A DMakefile24 ar -cr $@ $(OBJS)
/xen-4.10.0-shim-comet/tools/debugger/gdbsx/xg/
A DMakefile20 ar cr $@ $(XG_OBJS) # problems using -m32 in ld
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_info.c884 libxl_xen_console_reader *cr; in main_dmesg() local
898 cr = libxl_xen_console_read_start(ctx, clear); in main_dmesg()
899 if (!cr) in main_dmesg()
902 while ((ret = libxl_xen_console_read_line(ctx, cr, &line)) > 0) in main_dmesg()
906 if (cr) in main_dmesg()
907 libxl_xen_console_read_finish(ctx, cr); in main_dmesg()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/vmx/
A Dvvmx.c2449 int cr, write; in nvmx_n2_vmexit_handler() local
2453 cr = VMX_CONTROL_REG_ACCESS_NUM(exit_qualification); in nvmx_n2_vmexit_handler()
2458 if ( cr == 3 ) in nvmx_n2_vmexit_handler()
2465 else if ( cr == 8 ) in nvmx_n2_vmexit_handler()
2494 if ( cr == 0 ) in nvmx_n2_vmexit_handler()
2510 else if ( cr == 4 ) in nvmx_n2_vmexit_handler()
2587 void nvmx_set_cr_read_shadow(struct vcpu *v, unsigned int cr) in nvmx_set_cr_read_shadow() argument
2591 switch ( cr ) in nvmx_set_cr_read_shadow()
2604 gdprintk(XENLOG_WARNING, "Set read shadow for CR%d.\n", cr); in nvmx_set_cr_read_shadow()
2621 v->arch.hvm_vcpu.guest_cr[cr] &= ~virtual_cr_mask; in nvmx_set_cr_read_shadow()
[all …]
/xen-4.10.0-shim-comet/tools/ocaml/libs/xl/
A Dxenlight_stubs.c1107 libxl_xen_console_reader *cr; in stub_libxl_xen_console_read_start() local
1110 cr = libxl_xen_console_read_start(CTX, c_clear); in stub_libxl_xen_console_read_start()
1113 handle = caml_alloc_custom(&libxl_console_reader_custom_operations, sizeof(cr), 0, 1); in stub_libxl_xen_console_read_start()
1114 Console_reader_val(handle) = cr; in stub_libxl_xen_console_read_start()
1139 libxl_xen_console_reader *cr = (libxl_xen_console_reader *) Console_reader_val(reader); in stub_libxl_xen_console_read_line() local
1142 ret = libxl_xen_console_read_line(CTX, cr, &c_line); in stub_libxl_xen_console_read_line()
1158 libxl_xen_console_reader *cr = (libxl_xen_console_reader *) Console_reader_val(reader); in stub_libxl_xen_console_read_finish() local
1161 libxl_xen_console_read_finish(CTX, cr); in stub_libxl_xen_console_read_finish()
/xen-4.10.0-shim-comet/stubdom/grub/
A DMakefile77 $(AR) cr $@ $^
/xen-4.10.0-shim-comet/tools/tests/mce-test/lib/
A Dxen-mceinj-tool.sh93 xm cr $config
/xen-4.10.0-shim-comet/xen/include/asm-x86/hvm/vmx/
A Dvvmx.h237 void nvmx_set_cr_read_shadow(struct vcpu *v, unsigned int cr);
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Dhvm.c2057 int hvm_mov_to_cr(unsigned int cr, unsigned int gpr) in hvm_mov_to_cr() argument
2070 HVMTRACE_LONG_2D(CR_WRITE, cr, TRC_PAR_LONG(val)); in hvm_mov_to_cr()
2073 switch ( cr ) in hvm_mov_to_cr()
2093 gdprintk(XENLOG_ERR, "invalid cr: %d\n", cr); in hvm_mov_to_cr()
2118 switch ( cr ) in hvm_mov_from_cr()
2124 val = curr->arch.hvm_vcpu.guest_cr[cr]; in hvm_mov_from_cr()
2130 gdprintk(XENLOG_ERR, "invalid cr: %u\n", cr); in hvm_mov_from_cr()
2135 HVMTRACE_LONG_2D(CR_READ, cr, TRC_PAR_LONG(val)); in hvm_mov_from_cr()
2181 v->arch.hvm_vcpu.guest_cr[cr] = value; in hvm_update_cr()
2182 nestedhvm_set_cr(v, cr, value); in hvm_update_cr()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/
A Dsvm.c536 void svm_update_guest_cr(struct vcpu *v, unsigned int cr) in svm_update_guest_cr() argument
541 switch ( cr ) in svm_update_guest_cr()
1807 int gp, cr, dir, rc; in svm_vmexit_do_cr_access() local
1809 cr = vmcb->exitcode - VMEXIT_CR0_READ; in svm_vmexit_do_cr_access()
1810 dir = (cr > 15); in svm_vmexit_do_cr_access()
1811 cr &= 0xf; in svm_vmexit_do_cr_access()
1814 rc = dir ? hvm_mov_to_cr(cr, gp) : hvm_mov_from_cr(cr, gp); in svm_vmexit_do_cr_access()
/xen-4.10.0-shim-comet/docs/process/
A Dbranching-checklist.txt64 ie add both eg qemu-upstream-4.2-testing and xen-4.2-testing to BRANCHES in cr-for-branches
/xen-4.10.0-shim-comet/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-4.10.0-shim-comet/tools/xenstore/
A DMakefile83 $(AR) cr $@ $^

Completed in 88 milliseconds

12