Home
last modified time | relevance | path

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

/tools/testing/selftests/arm64/signal/testcases/
A Dgcs_frame.c23 unsigned long expected, gcspr; in gcs_regs() local
34 gcspr = get_gcspr_el0(); in gcs_regs()
35 gcspr -= 8; in gcs_regs()
36 fprintf(stderr, "Expecting GCSPR_EL0 %lx\n", gcspr); in gcs_regs()
70 if (gcs->gcspr != gcspr) { in gcs_regs()
72 gcs->gcspr, gcspr); in gcs_regs()
/tools/testing/selftests/arm64/gcs/
A Dgcs-util.h54 unsigned long *gcspr; in get_gcspr() local
58 : "=r" (gcspr) in get_gcspr()
62 return gcspr; in get_gcspr()
A Dlibc-gcs.c141 uint64_t val, rval, gcspr; in TEST() local
246 gcspr = child_gcs.gcspr_el0; in TEST()
248 gcspr, child_gcs.features_enabled, in TEST()
254 val = ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL); in TEST()
267 remote_iov.iov_base = (void *)gcspr; in TEST()
277 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, NULL); in TEST()
282 EXPECT_EQ(0, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
285 ret = ptrace(PTRACE_POKEDATA, child, (void *)gcspr, val); in TEST()
290 EXPECT_EQ(val, ptrace(PTRACE_PEEKDATA, child, (void *)gcspr, NULL)); in TEST()
/tools/testing/selftests/arm64/abi/
A Dhwcap.c131 unsigned long *gcspr; in gcs_sigill() local
135 : "=r" (gcspr) in gcs_sigill()

Completed in 10 milliseconds