Files
HiSTBLinuxV100R005C00SPC060/source/kernel/linux-4.4.y/tools/testing/selftests/powerpc/tm/tm-syscall-asm.S
T
2024-08-12 23:07:35 +08:00

28 lines
284 B
ArmAsm

#include <ppc-asm.h>
#include <asm/unistd.h>
.text
FUNC_START(getppid_tm_active)
tbegin.
beq 1f
li r0, __NR_getppid
sc
tend.
blr
1:
li r3, -1
blr
FUNC_START(getppid_tm_suspended)
tbegin.
beq 1f
li r0, __NR_getppid
tsuspend.
sc
tresume.
tend.
blr
1:
li r3, -1
blr