Lines Matching refs:gp_count
11 static volatile int gp_count; variable
16 gp_count++; in gp_handler()
46 gp_count = 0; in do_smsw()
52 gp_count = 0; in do_sldt()
58 gp_count = 0; in do_str()
65 gp_count = 0; in do_sgdt()
72 gp_count = 0; in do_sidt()
78 gp_count = 0; in do_movcr()
87 report(gp_count == 0, "no exception from smsw"); in test_umip_nogp()
89 report(gp_count == 0, "no exception from sgdt"); in test_umip_nogp()
91 report(gp_count == 0, "no exception from sidt"); in test_umip_nogp()
93 report(gp_count == 0, "no exception from sldt"); in test_umip_nogp()
95 report(gp_count == 0, "no exception from str"); in test_umip_nogp()
98 report(gp_count == 1, "exception from mov %%cr0, %%eax"); in test_umip_nogp()
109 report(gp_count == 1, "exception from smsw"); in test_umip_gp()
112 report(gp_count == 1, "exception from sgdt"); in test_umip_gp()
114 report(gp_count == 1, "exception from sidt"); in test_umip_gp()
116 report(gp_count == 1, "exception from sldt"); in test_umip_gp()
118 report(gp_count == 1, "exception from str"); in test_umip_gp()
121 report(gp_count == 1, "exception from mov %%cr0, %%eax"); in test_umip_gp()