Searched refs:i386_regs (Results 1 – 16 of 16) sorted by relevance
43 x86_io.iov_len = sizeof(i386_regs); in getregs_old()48 i386_regs.ebx = x86_64_regs.rbx; in getregs_old()49 i386_regs.ecx = x86_64_regs.rcx; in getregs_old()50 i386_regs.edx = x86_64_regs.rdx; in getregs_old()51 i386_regs.esi = x86_64_regs.rsi; in getregs_old()52 i386_regs.edi = x86_64_regs.rdi; in getregs_old()53 i386_regs.ebp = x86_64_regs.rbp; in getregs_old()54 i386_regs.eax = x86_64_regs.rax; in getregs_old()59 i386_regs.orig_eax = x86_64_regs.orig_rax; in getregs_old()60 i386_regs.eip = x86_64_regs.rip; in getregs_old()[all …]
5 if (x86_io.iov_len != sizeof(i386_regs)) { in get_syscall_args()35 tcp->u_arg[0] = (uint32_t) i386_regs.ebx; in get_syscall_args()36 tcp->u_arg[1] = (uint32_t) i386_regs.ecx; in get_syscall_args()37 tcp->u_arg[2] = (uint32_t) i386_regs.edx; in get_syscall_args()38 tcp->u_arg[3] = (uint32_t) i386_regs.esi; in get_syscall_args()39 tcp->u_arg[4] = (uint32_t) i386_regs.edi; in get_syscall_args()40 tcp->u_arg[5] = (uint32_t) i386_regs.ebp; in get_syscall_args()
15 if (x86_io.iov_len == sizeof(i386_regs)) in arch_set_error()16 i386_regs.eax = rval; in arch_set_error()22 if (x86_io.iov_len == sizeof(i386_regs)) in arch_set_error()36 if (x86_io.iov_len == sizeof(i386_regs)) in arch_set_success()37 i386_regs.eax = rval; in arch_set_success()43 if (x86_io.iov_len == sizeof(i386_regs)) in arch_set_success()
31 #define i386_regs x86_regs_union.i386_r macro33 uint32_t *const i386_esp_ptr = &i386_regs.esp;41 #define ARCH_PC_REG (x86_io.iov_len == sizeof(i386_regs) ? i386_regs.eip : x86_64_regs.rip)
12 if (x86_io.iov_len == sizeof(i386_regs)) { in get_error()14 rax = (int32_t) i386_regs.eax; in get_error()23 if (x86_io.iov_len == sizeof(i386_regs)) in get_error()
62 if (x86_io.iov_len == sizeof(i386_regs)) { in arch_get_scno()63 scno = i386_regs.orig_eax; in arch_get_scno()
13 if (x86_io.iov_len == sizeof(i386_regs)) in arch_set_scno()
5 tcp->u_arg[0] = i386_regs.ebx; in get_syscall_args()6 tcp->u_arg[1] = i386_regs.ecx; in get_syscall_args()7 tcp->u_arg[2] = i386_regs.edx; in get_syscall_args()8 tcp->u_arg[3] = i386_regs.esi; in get_syscall_args()9 tcp->u_arg[4] = i386_regs.edi; in get_syscall_args()10 tcp->u_arg[5] = i386_regs.ebp; in get_syscall_args()
1 static struct user_regs_struct i386_regs; variable2 unsigned long *const i386_esp_ptr = (unsigned long *) &i386_regs.esp;4 #define ARCH_REGS_FOR_GETREGS i386_regs5 #define ARCH_PC_REG i386_regs.eip
4 i386_regs.eax = -tcp->u_error; in arch_set_error()6 return upoke(tcp, 4 * EAX, i386_regs.eax); in arch_set_error()15 i386_regs.eax = tcp->u_rval; in arch_set_success()17 return upoke(tcp, 4 * EAX, i386_regs.eax); in arch_set_success()
6 if (check_errno && is_negated_errno(i386_regs.eax)) { in get_error()8 tcp->u_error = -i386_regs.eax; in get_error()10 tcp->u_rval = i386_regs.eax; in get_error()
5 tcp->scno = i386_regs.orig_eax; in arch_get_scno()
7 i386_regs.orig_eax = scno; in arch_set_scno()
144 * i386_regs.c (i386_register_info): Likewise.251 * i386_regs.c (i386_register_info): Add fallthrough comment.1085 * i386_regs.c (i386_register_info): Set *BITS to 16 for fctrl, fstat.1112 * i386_regs.c (i386_register_name): Renamed i386_register_info.1144 * i386_regs.c (i386_register_name): Fix return value when using stpcpy.1206 * i386_regs.c (i386_register_name): Use a table for the first 8 regs.1211 * i386_regs.c (i386_register_name): Return 0, not 1, for gaps.1213 * i386_regs.c: New file.
51 i386_retval.c i386_regs.c i386_auxv.c i386_syscall.c \
8022 linux/x86_64/set_error.c (set_error, set_success): Update i386_regs.eax44737 &i386_regs.esp is a pointer to long, not unsigned long.46735 Use the same type for i386_regs on 32-bit and 64-bit x86.46737 Change i386_regs from "struct pt_regs" to "struct user_regs_struct".46828 (printcall): Use i386_regs or x86_64_regs depending on x86_io.iov_len.46833 (syscall_fixup_on_sysenter): Use i386_regs or x86_64_regs depending49613 * defs.h [I386] (i386_regs): Replace definition with declaration.49688 * defs.h: Declare struct pt_regs i386_regs and struct pt_regs x86_64_regs.50273 * syscall.c: New static variables i386_regs and x86_64_regs.