Lines Matching refs:printf
71 printf("[FAIL]\toutb to 0x%02hx failed\n", port); in expect_ok_outb()
75 printf("[OK]\toutb to 0x%02hx worked\n", port); in expect_ok_outb()
81 printf("[FAIL]\toutb to 0x%02hx worked\n", port); in expect_gp_outb()
85 printf("[OK]\toutb to 0x%02hx failed\n", port); in expect_gp_outb()
138 printf("[OK]\tSTI faulted\n"); in expect_gp_sti()
141 printf("[OK]\tSTI NOPped\n"); in expect_gp_sti()
144 printf("[FAIL]\tSTI worked\n"); in expect_gp_sti()
158 printf("[OK]\tCLI faulted\n"); in test_cli()
161 printf("[OK]\tCLI NOPped\n"); in test_cli()
164 printf("[FAIL]\tCLI worked\n"); in test_cli()
186 printf("[OK]\tiopl() nor supported\n"); in main()
189 printf("[OK]\tiopl(3) failed (%d) -- try running as root\n", in main()
221 printf("\tchild: set IOPL to 3\n"); in main()
225 printf("[RUN]\tchild: write to 0x80\n"); in main()
233 printf("[FAIL]\tChild died\n"); in main()
236 printf("[FAIL]\tChild failed\n"); in main()
239 printf("[OK]\tChild succeeded\n"); in main()
243 printf("[RUN]\tparent: write to 0x80 (should fail)\n"); in main()
249 printf("\tiopl(3)\n"); in main()
253 printf("\tDrop privileges\n"); in main()
255 printf("[WARN]\tDropping privileges failed\n"); in main()
259 printf("[RUN]\tiopl(3) unprivileged but with IOPL==3\n"); in main()
261 printf("[FAIL]\tiopl(3) should work if iopl is already 3 even if unprivileged\n"); in main()
265 printf("[RUN]\tiopl(0) unprivileged\n"); in main()
267 printf("[FAIL]\tiopl(0) should work if iopl is already 3 even if unprivileged\n"); in main()
271 printf("[RUN]\tiopl(3) unprivileged\n"); in main()
273 printf("[FAIL]\tiopl(3) should fail if when unprivileged if iopl==0\n"); in main()
276 printf("[OK]\tFailed as expected\n"); in main()