Home
last modified time | relevance | path

Searched refs:force_sel (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dfsgsbase.c289 unsigned short force_sel, in set_gs_and_switch_to() argument
303 if (force_sel) in set_gs_and_switch_to()
304 printf("\tBefore schedule, set selector to 0x%hx\n", force_sel); in set_gs_and_switch_to()
315 if (force_sel) { in set_gs_and_switch_to()
316 asm volatile ("mov %0, %%gs" : : "rm" (force_sel)); in set_gs_and_switch_to()
317 sel_pre_sched = force_sel; in set_gs_and_switch_to()
324 asm volatile ("mov %0, %%gs" : : "rm" (force_sel)); in set_gs_and_switch_to()