/xen/xen/arch/x86/pv/ |
A D | emul-gate-op.c | 85 unsigned int esp, unsigned int decr) in check_stack_limit() argument 87 return (((esp - decr) < (esp - 1)) && in check_stack_limit() 88 (!(ar & _SEGMENT_EC) ? (esp - 1) <= limit : (esp - decr) > limit)); in check_stack_limit() 291 unsigned int ss, esp, *stkp; in pv_emulate_gate_op() local 296 esp -= 4; \ in pv_emulate_gate_op() 315 esp = v->arch.pv.kernel_sp; in pv_emulate_gate_op() 328 !check_stack_limit(ar, limit, esp, (4 + nparm) * 4) ) in pv_emulate_gate_op() 354 ((unsigned int)base + regs->esp + nparm * 4); in pv_emulate_gate_op() 378 esp = regs->rsp; in pv_emulate_gate_op() 386 if ( !check_stack_limit(ar, limit, esp, 2 * 4) ) in pv_emulate_gate_op() [all …]
|
A D | iret.c | 162 regs->esp, ksp); in compat_iret() 163 if ( ksp < regs->esp ) in compat_iret() 171 else if ( ksp > regs->esp ) in compat_iret() 184 regs->esp = ksp; in compat_iret() 206 regs->esp += 16; in compat_iret() 209 __get_user(regs->esp, (u32 *)regs->rsp + 4) ) in compat_iret()
|
/xen/tools/firmware/rombios/ |
A D | 32bitgateway.c | 96 push esp variable 98 ; Calculate protected-mode esp from ss:sp 99 and esp, #0xffff 103 add esp, eax 122 push MAX_ARG_BYTES-4+args_off[esp] 126 add esp, #MAX_ARG_BYTES 131 mov ax, ss_off[esp] 134 sub esp, eax 162 pop esp
|
/xen/xen/common/ |
A D | wait.c | 35 void *esp; member 129 ASSERT(wqv->esp == 0); in __prepare_to_wait() 162 : "=&S" (wqv->esp), "=&c" (dummy), "=&D" (dummy) in __prepare_to_wait() 166 if ( unlikely(wqv->esp == 0) ) in __prepare_to_wait() 180 wqv->esp = NULL; in __finish_wait() 191 if ( likely(wqv->esp == NULL) ) in check_wakeup_from_wait() 213 : : "S" (wqv->stack), "D" (wqv->esp), in check_wakeup_from_wait() 214 "c" ((char *)get_cpu_info() - (char *)wqv->esp), in check_wakeup_from_wait()
|
/xen/stubdom/ |
A D | newlib.patch | 213 -#define esp REG(esp) 288 +#define esp %esp 402 -#define esp REG(esp) 442 +#define esp %esp 532 -#define esp REG(esp) 572 +#define esp %esp
|
/xen/tools/debugger/gdbsx/gx/ |
A D | gx_local.c | 35 printf("eip:%08x esp:%08x flags:%08x\n", r32p->eip, r32p->esp, in prnt_32regs() 125 prnt_call_trace32(gregs.gregs_32.eip, gregs.gregs_32.esp); in prnt_vcpu_context()
|
A D | gx_main.c | 320 rbuf = gx_convert_int_to_ascii(regsp->esp, rbuf, 4); 341 rbuf = gx_convert_int_to_ascii(regsp->esp, rbuf, 4);
|
/xen/xen/crypto/ |
A D | vmac.c | 397 AS2( sub esp, 12) in nh_16_func() 412 AS2( movd [esp], mm6) in nh_16_func() 414 AS2( movd [esp+4], mm5) in nh_16_func() 429 AS2( movd [esp+8], mm3) in nh_16_func() 436 AS2( movd mm4, [esp]) in nh_16_func() 438 AS2( movd mm4, [esp+4]) in nh_16_func() 440 AS2( movd mm4, [esp+8]) in nh_16_func() 442 AS2( movd [esp], mm0) in nh_16_func() 445 AS2( movd [esp+4], mm1) in nh_16_func() 455 AS2( movd mm4, [esp]) in nh_16_func() [all …]
|
/xen/xen/arch/x86/ |
A D | traps.c | 240 stack = (unsigned int *)(unsigned long)regs->esp; in compat_show_guest_stack() 575 unsigned long esp = regs->rsp; in show_stack_overflow() local 576 unsigned long curr_stack_base = esp & ~(STACK_SIZE - 1); in show_stack_overflow() 586 esp_bottom = (esp | (STACK_SIZE - 1)) + 1; in show_stack_overflow() 590 (void *)esp_top, (void *)esp_bottom, (void *)esp, in show_stack_overflow() 597 if ( (esp > (esp_top + 512)) || in show_stack_overflow() 598 (esp < (esp_top - PAGE_SIZE)) ) in show_stack_overflow() 604 if ( esp < esp_top ) in show_stack_overflow() 605 esp = esp_top; in show_stack_overflow() 608 (void *)esp, (void *)esp_bottom); in show_stack_overflow() [all …]
|
A D | domain.c | 1429 unsigned int *esp = ring_1(regs) ? in load_segments() local 1440 ret = put_user(regs->ss, esp-1); in load_segments() 1441 ret |= put_user(regs->esp, esp-2); in load_segments() 1442 esp -= 2; in load_segments() 1446 put_user(rflags, esp-1) | in load_segments() 1447 put_user(cs_and_mask, esp-2) | in load_segments() 1448 put_user(regs->eip, esp-3) | in load_segments() 1449 put_user(uregs->gs, esp-4) | in load_segments() 1450 put_user(uregs->fs, esp-5) | in load_segments() 1451 put_user(uregs->es, esp-6) | in load_segments() [all …]
|
/xen/tools/debugger/gdbsx/xg/ |
A D | xg_main.c | 532 rp->esp = cp->esp; in _cp_32ctxt_to_32gdb() 554 rp->esp = cp->rsp; in _cp_64ctxt_to_32gdb() 610 cp->esp = rp->esp; in _cp_32gdb_to_32ctxt() 631 cp->rsp = rp->esp; in _cp_32gdb_to_64ctxt()
|
A D | xg_public.h | 42 uint32_t esp; member
|
/xen/xen/arch/x86/boot/ |
A D | head.S | 393 mov $0x1000, %esp 401 lea STACK_SIZE - CPUINFO_sizeof + sym_esi(cpu0_stack), %esp 443 mov $0x1000, %esp 451 lea STACK_SIZE - CPUINFO_sizeof + sym_esi(cpu0_stack), %esp 761 lea TRAMPOLINE_SPACE+TRAMPOLINE_STACK_SPACE(%edi),%esp
|
A D | trampoline.S | 193 xor %esp,%esp
|
A D | x86_64.S | 49 mov %esp, %eax
|
A D | wakeup.S | 99 mov $bootsym_rel(wakeup_stack, 4, %esp)
|
/xen/tools/tests/x86_emulator/ |
A D | opmask.S | 38 sub $8, %esp 39 kmovq %\res2, (%esp)
|
/xen/stubdom/grub/ |
A D | boot-x86_32.S | 108 lss (_boot_stack-_boot_page)(%ebp), %esp
|
/xen/xen/include/public/hvm/ |
A D | hvm_vcpu.h | 33 uint32_t esp; member
|
/xen/xen/include/asm-x86/ |
A D | hypercall.h | 74 unsigned long esp);
|
/xen/tools/firmware/rombios/32bit/ |
A D | rombios_compat.h | 36 Bit32u edi, esi, ebp, esp; member
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | realmode.c | 75 pstk = regs->esp -= 6; in realmode_deliver_exception()
|
/xen/tools/debugger/kdd/ |
A D | kdd-xen.c | 226 r->esp = cpu->rsp; in kdd_get_regs_x86_32() 247 cpu->rsp = r->esp; in kdd_set_regs_x86_32()
|
/xen/xen/arch/x86/hvm/ |
A D | domain.c | 202 uregs->rsp = regs->esp; in arch_set_info_hvm_guest()
|
/xen/tools/xentrace/ |
A D | xenctx.c | 377 printf("ss:esp: %04x:%08x\n", regs->ss, regs->esp); in print_ctx_32() 406 printf("ss:esp: %04x:%08x\n", regs->ss, (uint32_t)regs->esp); in print_ctx_32on64() 526 r = ctx->x32.user_regs.esp; in stack_pointer()
|