Lines Matching refs:do_test
135 static bool do_test(struct vm86plus_struct *v86, unsigned long eip, in do_test() function
204 do_test(vm86, vmcode_umip - vmcode, VM86_TRAP, 3, "UMIP tests"); in do_umip_tests()
241 do_test(vm86, vmcode_umip_str - vmcode, VM86_SIGNAL, 0, in do_umip_tests()
246 do_test(vm86, vmcode_umip_sldt - vmcode, VM86_SIGNAL, 0, in do_umip_tests()
277 do_test(&v86, vmcode_bound - vmcode, VM86_INTx, 5, "#BR"); in main()
286 do_test(&v86, vmcode_sysenter - vmcode, -1, 0, "SYSENTER"); in main()
297 do_test(&v86, vmcode_syscall - vmcode, VM86_SIGNAL, 0, "SYSCALL"); in main()
303 do_test(&v86, vmcode_sti - vmcode, VM86_STI, 0, "STI with VIP set"); in main()
308 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP set and IF clear"); in main()
313 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_STI, 0, "POPF with VIP and IF set"); in main()
318 do_test(&v86, vmcode_popf_hlt - vmcode, VM86_UNKNOWN, 0, "POPF with VIP clear and IF set"); in main()
323 do_test(&v86, vmcode_int3 - vmcode, VM86_TRAP, 3, "INT3"); in main()
327 do_test(&v86, vmcode_int80 - vmcode, VM86_INTx, 0x80, "int80"); in main()
337 if (do_test(&v86, 0, VM86_SIGNAL, 0, "Execute null pointer") && in main()