1 /* SPDX-License-Identifier: MIT */
2 /* SPDX-FileCopyrightText: 2021 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> */
5 * rseq-ppc-thread-pointer.h
8 #ifndef _RSEQ_PPC_THREAD_POINTER
9 #define _RSEQ_PPC_THREAD_POINTER
15 static inline void *rseq_thread_pointer(void)
18 register void *__result
asm ("r13");
20 register void *__result
asm ("r2");
22 asm ("" : "=r" (__result
));
This page took 0.032499 seconds and 4 git commands to generate.