Home
last modified time | relevance | path

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

/tools/testing/selftests/powerpc/dscr/
Ddscr_explicit_test.c22 unsigned long i, dscr = 0; in dscr_explicit() local
27 set_dscr(dscr); in dscr_explicit()
34 dscr++; in dscr_explicit()
35 if (dscr > DSCR_MAX) in dscr_explicit()
36 dscr = 0; in dscr_explicit()
38 set_dscr(dscr); in dscr_explicit()
42 if (cur_dscr != dscr) { in dscr_explicit()
44 "is %ld\n", dscr, cur_dscr); in dscr_explicit()
50 dscr++; in dscr_explicit()
51 if (dscr > DSCR_MAX) in dscr_explicit()
[all …]
Ddscr_inherit_test.c22 unsigned long i, dscr = 0; in dscr_inherit() local
28 set_dscr(dscr); in dscr_inherit()
33 dscr++; in dscr_inherit()
34 if (dscr > DSCR_MAX) in dscr_inherit()
35 dscr = 0; in dscr_inherit()
38 set_dscr_usr(dscr); in dscr_inherit()
40 set_dscr(dscr); in dscr_inherit()
65 if (cur_dscr != dscr) { in dscr_inherit()
67 "but is %ld\n", dscr, cur_dscr); in dscr_inherit()
72 if (cur_dscr_usr != dscr) { in dscr_inherit()
[all …]
Ddscr_inherit_exec_test.c44 unsigned long i, dscr = 0; in dscr_inherit_exec() local
50 dscr++; in dscr_inherit_exec()
51 if (dscr > DSCR_MAX) in dscr_inherit_exec()
52 dscr = 0; in dscr_inherit_exec()
54 if (dscr == get_default_dscr()) in dscr_inherit_exec()
58 set_dscr_usr(dscr); in dscr_inherit_exec()
60 set_dscr(dscr); in dscr_inherit_exec()
86 sprintf(dscr_str, "%ld", dscr); in dscr_inherit_exec()
Ddscr_default_test.c14 static unsigned long dscr; /* System DSCR default */ variable
32 d = dscr; in do_test()
71 dscr = 1; in dscr_default()
72 set_default_dscr(dscr); in dscr_default()
92 dscr++; in dscr_default()
93 if (dscr > DSCR_MAX) in dscr_default()
94 dscr = 0; in dscr_default()
96 set_default_dscr(dscr); in dscr_default()
/tools/testing/selftests/powerpc/ptrace/
Dptrace-tar.h30 unsigned long ppr, unsigned long dscr) in validate_tar_registers() argument
40 if (reg[2] != dscr) in validate_tar_registers()
Dptrace.h186 unsigned long ppr, unsigned long dscr) in write_tar_registers() argument
215 *reg = dscr; in write_tar_registers()
277 unsigned long ppr, unsigned long dscr) in write_ckpt_tar_registers() argument
306 *reg = dscr; in write_ckpt_tar_registers()
/tools/testing/selftests/powerpc/tm/
DMakefile5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
23 $(OUTPUT)/tm-resched-dscr: ../pmu/lib.c
D.gitignore2 tm-resched-dscr
/tools/testing/selftests/powerpc/
DMakefile20 dscr \