Lines Matching refs:vm86regs
203 struct kernel_vm86_regs vm86regs; in do_sys_vm86() local
255 memset(&vm86regs, 0, sizeof(vm86regs)); in do_sys_vm86()
257 vm86regs.pt.bx = v.regs.ebx; in do_sys_vm86()
258 vm86regs.pt.cx = v.regs.ecx; in do_sys_vm86()
259 vm86regs.pt.dx = v.regs.edx; in do_sys_vm86()
260 vm86regs.pt.si = v.regs.esi; in do_sys_vm86()
261 vm86regs.pt.di = v.regs.edi; in do_sys_vm86()
262 vm86regs.pt.bp = v.regs.ebp; in do_sys_vm86()
263 vm86regs.pt.ax = v.regs.eax; in do_sys_vm86()
264 vm86regs.pt.ip = v.regs.eip; in do_sys_vm86()
265 vm86regs.pt.cs = v.regs.cs; in do_sys_vm86()
266 vm86regs.pt.flags = v.regs.eflags; in do_sys_vm86()
267 vm86regs.pt.sp = v.regs.esp; in do_sys_vm86()
268 vm86regs.pt.ss = v.regs.ss; in do_sys_vm86()
269 vm86regs.es = v.regs.es; in do_sys_vm86()
270 vm86regs.ds = v.regs.ds; in do_sys_vm86()
271 vm86regs.fs = v.regs.fs; in do_sys_vm86()
272 vm86regs.gs = v.regs.gs; in do_sys_vm86()
302 VEFLAGS = vm86regs.pt.flags; in do_sys_vm86()
303 vm86regs.pt.flags &= SAFE_MASK; in do_sys_vm86()
304 vm86regs.pt.flags |= regs->flags & ~SAFE_MASK; in do_sys_vm86()
305 vm86regs.pt.flags |= X86_VM_MASK; in do_sys_vm86()
307 vm86regs.pt.orig_ax = regs->orig_ax; in do_sys_vm86()
342 memcpy((struct kernel_vm86_regs *)regs, &vm86regs, sizeof(vm86regs)); in do_sys_vm86()