GITLAB

에프에이리눅스 / fullcycle-jenkins-joy

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
5113f6f7014e0a1ededef3a33d45d9057dfbe97f
  • fullcycle-jenkins-joy
  • ..
  • tm
  • tm-syscall-asm.S
  • 5113f6f70   kernel add Browse Code »
    김현기
    5 years ago  
tm-syscall-asm.S 284 Bytes
edit raw blame history
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#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