Lines Matching refs:vm86
3 * entry_from_vm86.c - tests kernel entries from vm86 mode
6 * This exercises a few paths that need to special-case vm86 mode.
25 #include <sys/vm86.h>
60 printf("[FAIL]\tSignal frame should not reflect vm86 mode\n");
140 printf("[RUN]\t%s from vm86 mode\n", text);
142 ret = vm86(VM86_ENTER, v86);
162 printf("[INFO]\tExited vm86 mode due to #%s\n", trapname);
164 printf("[INFO]\tExited vm86 mode due to unhandled GP fault\n");
166 printf("[INFO]\tExited vm86 mode due to a trap (arg=%ld)\n",
169 printf("[INFO]\tExited vm86 mode due to a signal\n");
171 printf("[INFO]\tExited vm86 mode due to STI\n");
173 printf("[INFO]\tExited vm86 mode due to type %ld, arg %ld\n",
188 void do_umip_tests(struct vm86plus_struct *vm86, unsigned char *test_mem)
203 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests");
240 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0,
245 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0,
281 * the vm86 return value. This will avoid problems on non-SEP
291 * EFER.SCE, so it's #UD on all systems. But vm86 is