Lines Matching refs:vm86

139 #include <machine/vm86.h>
449 * If we're a vm86 process, we want to save the segment registers.
456 struct vm86_kernel *vm86 = &td->td_pcb->pcb_ext->ext_vm86;
463 if (vm86->vm86_has_vme == 0)
466 (vm86->vm86_eflags & (PSL_VIF | PSL_VIP));
573 * If we're a vm86 process, we want to save the segment registers.
579 struct vm86_kernel *vm86 = &td->td_pcb->pcb_ext->ext_vm86;
586 if (vm86->vm86_has_vme == 0)
589 (vm86->vm86_eflags & (PSL_VIF | PSL_VIP));
595 * does nothing in vm86 mode, but vm86 programs can set it
744 * If we're a vm86 process, we want to save the segment registers.
750 struct vm86_kernel *vm86 = &td->td_pcb->pcb_ext->ext_vm86;
757 if (vm86->vm86_has_vme == 0)
760 (vm86->vm86_eflags & (PSL_VIF | PSL_VIP));
766 * does nothing in vm86 mode, but vm86 programs can set it
833 struct vm86_kernel *vm86;
837 * set up the vm86 area, and we can't enter vm86 mode.
841 vm86 = &td->td_pcb->pcb_ext->ext_vm86;
842 if (vm86->vm86_inited == 0)
854 if (vm86->vm86_has_vme) {
858 vm86->vm86_eflags = eflags; /* save VIF, VIP */
948 struct vm86_kernel *vm86;
952 * set up the vm86 area, and we can't enter vm86 mode.
956 vm86 = &td->td_pcb->pcb_ext->ext_vm86;
957 if (vm86->vm86_inited == 0)
968 if (vm86->vm86_has_vme) {
972 vm86->vm86_eflags = eflags; /* save VIF, VIP */
1061 struct vm86_kernel *vm86;
1065 * set up the vm86 area, and we can't enter vm86 mode.
1069 vm86 = &td->td_pcb->pcb_ext->ext_vm86;
1070 if (vm86->vm86_inited == 0)
1082 if (vm86->vm86_has_vme) {
1086 vm86->vm86_eflags = eflags; /* save VIF, VIP */
2199 * the vm86 page table so that vm86 can scribble on them using
2200 * the vm86 map too. XXX: why 2 ways for this and only 1 way for
3128 /* Note: -16 is so we can grow the trapframe if we came from vm86 */
3438 /* Note: -16 is so we can grow the trapframe if we came from vm86 */