Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/x86/
H A Dsigreturn.c558 unsigned short my_cs; in find_cs() local
560 asm ("mov %%cs,%0" : "=r" (my_cs)); in find_cs()
562 if (cs_bitness(my_cs) == bitness) in find_cs()
563 return my_cs; in find_cs()
565 return my_cs + (2 << 3); in find_cs()
566 if (my_cs > (2<<3) && cs_bitness(my_cs - (2 << 3)) == bitness) in find_cs()
567 return my_cs - (2 << 3); in find_cs()
764 unsigned short my_cs, my_ss; in main() local
840 test_bad_iret(64, my_cs, -1); in main()
841 test_bad_iret(32, my_cs, -1); in main()
[all …]