/xen/xen/include/asm-x86/x86_64/ |
A D | regs.h | 7 #define ring_0(r) (((r)->cs & 3) == 0) 8 #define ring_1(r) (((r)->cs & 3) == 1) 9 #define ring_2(r) (((r)->cs & 3) == 2) 10 #define ring_3(r) (((r)->cs & 3) == 3) 22 (!is_pv_32bit_vcpu(v) ? ((tb)->eip == 0) : (((tb)->cs & ~3) == 0))
|
A D | elf.h | 22 unsigned long cs; member 56 asm volatile("movl %%cs, %%eax;" :"=a"(core_regs->cs)); in elf_core_save_regs()
|
/xen/xen/arch/x86/pv/ |
A D | emul-gate-op.c | 95 } cs; member 110 addr += goc->cs.base; in read_mem() 111 limit = goc->cs.limit; in read_mem() 178 (((ar >> 13) & 3) < (regs->cs & 3)) || in pv_emulate_gate_op() 196 if ( !pv_emul_read_descriptor(regs->cs, v, &ctxt.cs.base, &ctxt.cs.limit, in pv_emulate_gate_op() 272 ((ar >> 13) & 3) > (regs->cs & 3) : in pv_emulate_gate_op() 273 ((ar >> 13) & 3) != (regs->cs & 3)) ) in pv_emulate_gate_op() 377 sel |= (regs->cs & 3); in pv_emulate_gate_op() 398 push(regs->cs); in pv_emulate_gate_op() 405 sel |= (regs->cs & 3); in pv_emulate_gate_op() [all …]
|
A D | callback.c | 40 t->cs = (is_pv_32bit_domain(d) ? in register_guest_nmi_callback() 211 fixup_guest_code_selector(curr->domain, reg->address.cs); in compat_register_guest_callback() 216 curr->arch.pv.event_callback_cs = reg->address.cs; in compat_register_guest_callback() 221 curr->arch.pv.failsafe_callback_cs = reg->address.cs; in compat_register_guest_callback() 230 curr->arch.pv.syscall32_callback_cs = reg->address.cs; in compat_register_guest_callback() 237 curr->arch.pv.sysenter_callback_cs = reg->address.cs; in compat_register_guest_callback() 328 .cs = event_selector, in compat_set_callbacks() 335 .cs = failsafe_selector, in compat_set_callbacks() 374 fixup_guest_code_selector(curr->domain, cur.cs); in do_set_trap_table() 416 fixup_guest_code_selector(curr->domain, cur.cs); in compat_set_trap_table()
|
A D | iret.c | 66 if ( (iret_saved.cs & 3) == 3 ) in do_iret() 81 regs->cs = iret_saved.cs | 3; /* force guest privilege */ in do_iret() 125 unlikely(__get_user(regs->cs, (u32 *)regs->rsp + 2)) ) in compat_iret() 198 regs->cs = ti->cs; in compat_iret()
|
A D | traps.c | 71 tb->cs = ti->cs; in pv_inject_event()
|
/xen/xen/common/ |
A D | string.c | 120 int (strcmp)(const char *cs, const char *ct) 125 if ((__res = *cs - *ct++) != 0 || !*cs++) 140 int (strncmp)(const char *cs, const char *ct, size_t count) 145 if ((__res = *cs - *ct++) != 0 || !*cs++) 251 char * strpbrk(const char * cs,const char * ct) in strpbrk() argument 255 for( sc1 = cs; *sc1 != '\0'; ++sc1) { in strpbrk() 392 int (memcmp)(const void *cs, const void *ct, size_t count) 397 for( su1 = cs, su2 = ct; 0 < count; ++su1, ++su2, count--)
|
/xen/xen/arch/x86/hvm/ |
A D | domain.c | 118 struct segment_register cs, ds, ss, es, tr; in arch_set_info_hvm_guest() local 149 rc = SEG(cs, regs); in arch_set_info_hvm_guest() 160 limit = cs.limit; in arch_set_info_hvm_guest() 161 if ( cs.g ) in arch_set_info_hvm_guest() 170 if ( ss.dpl != cs.dpl ) in arch_set_info_hvm_guest() 173 ss.dpl, cs.dpl); in arch_set_info_hvm_guest() 177 if ( ds.p && ds.dpl > cs.dpl ) in arch_set_info_hvm_guest() 180 ds.dpl, cs.dpl); in arch_set_info_hvm_guest() 184 if ( es.p && es.dpl > cs.dpl ) in arch_set_info_hvm_guest() 187 es.dpl, cs.dpl); in arch_set_info_hvm_guest() [all …]
|
/xen/xen/arch/x86/boot/ |
A D | cmdline.c | 69 static int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument 75 c1 = *cs++; in strncmp() 177 static int strmaxcmp(const char *cs, const char *ct, const char *_delim_chars) in strmaxcmp() argument 179 return strncmp(cs, ct, max(strcspn(cs, _delim_chars), strlen(ct))); in strmaxcmp() 182 static int __maybe_unused strsubcmp(const char *cs, const char *ct) in strsubcmp() argument 184 return strncmp(cs, ct, strlen(ct)); in strsubcmp()
|
/xen/tools/debugger/gdbsx/xg/ |
A D | xg_main.c | 530 rp->cs = cp->cs; in _cp_32ctxt_to_32gdb() 552 rp->cs = cp->cs; in _cp_64ctxt_to_32gdb() 585 rp->cs = cp->cs; in _cp_64ctxt_to_64gdb() 594 printf("cs:%04x ss:%04x ds:%04x\n", (int)rp->cs, (int)rp->ss, in _cp_64ctxt_to_64gdb() 611 cp->cs = rp->cs; in _cp_32gdb_to_32ctxt() 632 cp->cs = rp->cs; in _cp_32gdb_to_64ctxt() 663 cp->cs = (uint16_t)rp->cs; in _cp_64gdb_to_64ctxt()
|
A D | xg_public.h | 48 uint32_t cs; member 76 uint32_t cs; member
|
/xen/tools/firmware/vgabios/ |
A D | clext.c | 413 push cs 535 push cs 603 push cs 803 mov ax, cs 807 mov ax, cs 811 mov ax, cs 823 mov ax, cs 836 push cs 868 push cs 893 mov ax, cs [all …]
|
/xen/xen/arch/x86/x86_64/ |
A D | gdbstub.c | 49 GDB_REG32(regs->cs); in gdb_arch_read_reg_array() 92 case 18: GDB_REG32(regs->cs); break; in gdb_arch_read_reg() 131 case 18: regs->cs = (u16)val; break; in gdb_arch_write_reg()
|
A D | asm-offsets.c | 45 OFFSET(UREGS_cs, struct cpu_user_regs, cs); in __dummy__() 130 OFFSET(TRAPINFO_cs, struct trap_info, cs); in __dummy__() 137 OFFSET(TRAPBOUNCE_cs, struct trap_bounce, cs); in __dummy__()
|
/xen/xen/include/asm-x86/ |
A D | desc.h | 55 #define fixup_guest_code_selector(d, cs) __fixup_guest_selector(d, cs) argument 122 uint16_t cs; member
|
A D | regs.h | 13 ASSERT((diff == 0) || (r->cs == __HYPERVISOR_CS)); \
|
/xen/xen/tools/kconfig/ |
A D | confdata.c | 489 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); in conf_read_simple() local 494 if (cs->def[def].tri == yes) { in conf_read_simple() 496 cs->flags &= ~def_flags; in conf_read_simple() 500 if (cs->def[def].tri != no) in conf_read_simple() 502 cs->def[def].val = sym; in conf_read_simple() 505 cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri); in conf_read_simple() 811 struct symbol *cs; in conf_write_defconfig() local 814 cs = prop_get_symbol(sym_get_choice_prop(sym)); in conf_write_defconfig() 815 ds = sym_choice_default(cs); in conf_write_defconfig() 816 if (!sym_is_optional(cs) && sym == ds) { in conf_write_defconfig()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svmdebug.c | 90 svm_dump_sel(" CS", &vmcb->cs); in svm_vmcb_dump() 160 vmcb->cs.l && vmcb->cs.db ) in svm_vmcb_isvalid()
|
/xen/xen/arch/arm/arm32/lib/ |
A D | copy_template.S | 150 ldr1b r1, r4, cs, abort=21f 151 ldr1b r1, ip, cs, abort=21f 153 str1b r0, r4, cs, abort=21f 154 str1b r0, ip, cs, abort=21f
|
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_local.c | 41 printf("cs:%x ds:%x fs:%x gs:%x\n", r32p->cs, r32p->ds, r32p->fs, in prnt_32regs() 61 printf("cs:%08x ds:%08x fs:%08x gs:%08x\n", r64p->cs, in prnt_64regs()
|
/xen/xen/include/public/arch-x86/ |
A D | xen-x86_32.h | 145 uint16_t cs; member 177 unsigned long cs; member
|
A D | xen-x86_64.h | 129 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member 198 uint16_t cs, _pad0[1]; member
|
/xen/xen/common/efi/ |
A D | boot.c | 100 const char *cs; member 1346 name.cs = get_value(&cfg, section.s, "video"); in efi_start() 1347 if ( !name.cs ) in efi_start() 1348 name.cs = get_value(&cfg, "global", "video"); in efi_start() 1349 if ( name.cs && !strncmp(name.cs, "gfx-", 4) ) in efi_start() 1351 cols = simple_strtoul(name.cs + 4, &name.cs, 10); in efi_start() 1352 if ( *name.cs == 'x' ) in efi_start() 1353 rows = simple_strtoul(name.cs + 1, &name.cs, 10); in efi_start() 1354 if ( *name.cs == 'x' ) in efi_start() 1355 depth = simple_strtoul(name.cs + 1, &name.cs, 10); in efi_start() [all …]
|
/xen/tools/golang/xenlight/ |
A D | xenlight.go | 527 cs := (*[1 << 30]C.uint8_t)(unsafe.Pointer(cbm._map))[:size:size] 530 copy(bm.bitmap, cs) 541 cs := (*[1 << 31]C.uint8_t)(unsafe.Pointer(cbm._map))[:size:size] 543 copy(cs, bm.bitmap) 565 cs := C.libxl_scheduler_to_string(C.libxl_scheduler(s)) 568 return C.GoString(cs) 581 var cs C.libxl_scheduler 583 ret := C.libxl_scheduler_from_string(cname, &cs) 589 s = Scheduler(cs)
|
/xen/xen/arch/x86/cpu/ |
A D | vpmu.c | 252 cmp->cs = cur_regs->cs; in vpmu_do_interrupt() 253 if ( (cmp->cs & 3) > 1 ) in vpmu_do_interrupt() 278 r->cs = cur_regs->cs; in vpmu_do_interrupt() 287 r->cs = seg.sel; in vpmu_do_interrupt()
|