Home
last modified time | relevance | path

Searched refs:vm86regs (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/x86/kernel/
Dvm86_32.c243 struct kernel_vm86_regs vm86regs; in do_sys_vm86() local
286 memset(&vm86regs, 0, sizeof(vm86regs)); in do_sys_vm86()
289 get_user_ex(vm86regs.pt.bx, &user_vm86->regs.ebx); in do_sys_vm86()
290 get_user_ex(vm86regs.pt.cx, &user_vm86->regs.ecx); in do_sys_vm86()
291 get_user_ex(vm86regs.pt.dx, &user_vm86->regs.edx); in do_sys_vm86()
292 get_user_ex(vm86regs.pt.si, &user_vm86->regs.esi); in do_sys_vm86()
293 get_user_ex(vm86regs.pt.di, &user_vm86->regs.edi); in do_sys_vm86()
294 get_user_ex(vm86regs.pt.bp, &user_vm86->regs.ebp); in do_sys_vm86()
295 get_user_ex(vm86regs.pt.ax, &user_vm86->regs.eax); in do_sys_vm86()
296 get_user_ex(vm86regs.pt.ip, &user_vm86->regs.eip); in do_sys_vm86()
[all …]
/Linux-v4.19/arch/x86/lib/
Dinsn-eval.c346 struct kernel_vm86_regs *vm86regs = (struct kernel_vm86_regs *)regs; in get_segment_selector()
355 return vm86regs->ds; in get_segment_selector()
357 return vm86regs->es; in get_segment_selector()
359 return vm86regs->fs; in get_segment_selector()
361 return vm86regs->gs; in get_segment_selector()